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: |
|
| 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.Powiązane Funkcje: wp_random_content_redirect, wp_is_random_content_redirect_enabled, wp_is_random_content_query, wp_random_content_pre_get_posts, wp_get_random_content_post_types, wp_validate_redirect