wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_enable_random_content_redirect › WordPress Filter Hooks

Da7.2.0
Deprecaton/a
› apply_filters( 'wp_enable_random_content_redirect', true )
Parametri:
  • () enabled Whether random content redirects are enabled. Default true.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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