wp_spaces_regexp

wp_spaces_regexp

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_spaces_regexp') is found 1 times:

  • /wp-includes/formatting.php line 5829
    		 * @since 4.0.0
    		 *
    		 * @param string $spaces Regexp pattern for matching common whitespace characters.
    		 */
    		$spaces = apply_filters( 'wp_spaces_regexp', '[\r\n\t ]|\xC2\xA0| ' );
    	}
    
    	return $spaces;
    }
    
    /**