is_multi_author хук-фильтр . WP 3.2.0
Filters whether the site has more than one author with published posts.
Использование
add_filter( 'is_multi_author', 'filter_function_name_6276' ); function filter_function_name_6276( $is_multi_author ){ // filter... return $is_multi_author; }
- $is_multi_author(true/false)
- Whether $is_multi_author should evaluate as true.
Список изменений
С версии 3.2.0 | Введена. |
Где вызывается хук
is_multi_author
wp-includes/author-template.php 561
return apply_filters( 'is_multi_author', (bool) $is_multi_author );