got_url_rewrite хук-фильтр . WP 3.7.0
Filters whether URL rewriting is available.
Использование
add_filter( 'got_url_rewrite', 'filter_function_name_653' ); function filter_function_name_653( $got_url_rewrite ){ // filter... return $got_url_rewrite; }
- $got_url_rewrite(true/false)
- Whether URL rewriting is available.
Список изменений
С версии 3.7.0 | Введена. |
Где вызывается хук
got_url_rewrite
wp-admin/includes/misc.php 55
return apply_filters( 'got_url_rewrite', $got_url_rewrite );