post_format_rewrite_base хук-фильтр . WP 3.1.0
Filters the post formats rewrite base.
Использование
add_filter( 'post_format_rewrite_base', 'filter_function_name_2156' ); function filter_function_name_2156( $context ){ // filter... return $context; }
- $context(строка)
- Context of the rewrite base.
По умолчанию: 'type'
Список изменений
С версии 3.1.0 | Введена. |
Где вызывается хук
post_format_rewrite_base
wp-includes/taxonomy.php 42
$post_format_base = apply_filters( 'post_format_rewrite_base', 'type' );