wp_sprintf_l
wp_sprintf_l
Appears in: wordpress-4.0, wordpress-4.4, wordpress-4.8, wordpress-4.9, wordpress-4.9.4, wordpress-4.9.5, wordpress-4.9.6, wordpress-4.9.7, wordpress-4.9.8, wordpress-5.0, wordpress-5.0.1, wordpress-5.0.2, wordpress-5.0.3
Hook Type: filter
Displaying hooks found in version: wordpress-5.0.3apply_filters('wp_sprintf_l') is found 1 times:
- /wp-includes/formatting.php line 450344994500450145024503450445054506450745084509
* @since 2.5.0
*
* @param
array
$delimiters
An
array
of translated delimiters.
*/
$l
= apply_filters(
'wp_sprintf_l'
,
array
(
/* translators: used to join items in a list with more than 2 items */
'between'
=> sprintf( __(
'%s, %s'
),
''
,
''
),
/* translators: used to join last two items in a list with more than 2 times */
'between_last_two'
=> sprintf( __(
'%s, and %s'
),
''
,
''
),
/* translators: used to join items in a list with only 2 items */
'between_only_two'
=> sprintf( __(
'%s and %s'
),
''
,
''
),