WordPress at Your Fingertips
filter is not described

wp_sprintf filter-hook . WP 2.5.0

If the fragment is unchanged, then sprintf() will be run on the fragment.


add_filter( 'wp_sprintf', 'filter_function_name_2576', 10, 2 );
function filter_function_name_2576( $fragment, $arg ){
	// filter...

	return $fragment;
A fragment from the pattern.
The argument.

Where the hook is called

wp-includes/formatting.php 5079
$_fragment = apply_filters( 'wp_sprintf', $fragment, $arg );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 205
add_filter( 'wp_sprintf', 'wp_sprintf_l', 10, 2 );