WPDev.one
Core Function
View Source on Trac ↗

wp_sprintf_l()

wp_sprintf_l( mixed $pattern, mixed $args )

Localizes list items before the rest of the content.

Parameters 2 required

Name / Type Description
$pattern
string

Content containing '%l' at the beginning.

Required
$args
array

List items to prepend to the content and replace '%l'.

Required

Return Value

(string)
Localized list items and rest of the content.

Function Information

Since Version
2.5.0
Source File
wp-includes/formatting.php
Advertisement