wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_spaces_regexp › Filtr WordPress Hooks

Od4.0.0
Przestarzałyn/a
› apply_filters( 'wp_spaces_regexp', '[\r\n\t ]|\xC2\xA0| ' )
Parametry:
  • () spaces Regexp pattern for matching common whitespace characters.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the regexp for common whitespace characters.

This string is substituted for the \s sequence as needed in regular expressions. For websites not written in English, different characters may represent whitespace. For websites not encoded in UTF-8, the 0xC2 0xA0 sequence may not be in use.




Źródło

$spaces = apply_filters( 'wp_spaces_regexp', '[\r\n\t ]|\xC2\xA0| ' );