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:

Description

Localize 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.

Related Functions

wp_sprintf, wp_print_styles, wp_script_is, wp_scripts, wp_install

Top Google Results

User discussions

wpseek mobile