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



wp_enable_random_content_redirect › Filtr WordPress Hooks

Od7.2.0
Przestarzałyn/a
› apply_filters( 'wp_enable_random_content_redirect', true )
Parametry:
  • () enabled Whether random content redirects are enabled. Default true.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether random content redirects are enabled.

Random content redirects add rewrite rules for URLs such as `/random/`, so the rewrite rules need to be flushed after changing the value returned by this filter.




Źródło

return (bool) apply_filters( 'wp_enable_random_content_redirect', true );