wp_sprintf

wp_sprintf

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_sprintf') is found 1 times:

  • /wp-includes/formatting.php line 5268
    			 *
    			 * @param string $fragment A fragment from the pattern.
    			 * @param string $arg      The argument.
    			 */
    			$_fragment = apply_filters( 'wp_sprintf', $fragment, $arg );
    
    			if ( $_fragment !== $fragment ) {
    				$fragment = $_fragment;
    			} else {
    				$fragment = sprintf( $fragment, (string) $arg );
    			}