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
- $fragment
-
(string) A fragment from the pattern.
- $arg
-
(string) The argument.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sprintf