url_to_postid хук-фильтр . WP 2.2.0
Filters the URL to derive the post ID from.
Использование
add_filter( 'url_to_postid', 'filter_function_name_5578' ); function filter_function_name_5578( $url ){ // filter... return $url; }
- $url(строка)
- The URL to derive the post ID from.
Список изменений
С версии 2.2.0 | Введена. |
Где вызывается хук
url_to_postid
wp-includes/rewrite.php 478
$url = apply_filters( 'url_to_postid', $url );