wp_sprintf_l
wp_sprintf_l ( $pattern, $args )
Parameters:- (string) pattern Content containing '%l' at the beginning.
- (array) args List items to prepend to the content and replace '%l'.
Returns:- (string) Localized list items and rest of the content.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Localizes list items before the rest of the content.The '%l' must be at the first characters can then contain the rest of the
content. The list items will have ', ', ', and', and ' and ' added depending
on the amount of list items in the $args parameter.