wp_sprintf

wp_sprintf

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('wp_sprintf') is found 1 times:

  • /wp-includes/formatting.php line 5294
    			 *
    			 * @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 );
    			}