On this page
apply_filters( 'wp_sprintf', string $fragment, string $arg )
Filters a fragment from the pattern passed to wp_sprintf() .
Description
If the fragment is unchanged, then sprintf() will be run on the fragment.
Parameters
$fragmentstring-
A fragment from the pattern.
$argstring-
The argument.
Source
File: wp-includes/formatting.php. View all references
$_fragment = apply_filters( 'wp_sprintf', $fragment, $arg );
Related
Used By
| Used By | Description |
|---|---|
| wp_sprintf() wp-includes/formatting.php | WordPress implementation of PHP sprintf() with filters. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sprintf