WPSEO_Author_Sitemap_Provider::exclude_users() protected Yoast 1.0
Wrap legacy filter to deduplicate calls.
{} Это метод класса: WPSEO_Author_Sitemap_Provider{}
Хуки из метода
Возвращает
Массив
. Ничего.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->exclude_users( $users );
- $users(массив) (обязательный)
- Array of user objects to filter.
Код WPSEO_Author_Sitemap_Provider::exclude_users() WPSEO Author Sitemap Provider::exclude users Yoast 16.1.1
protected function exclude_users( $users ) {
/**
* Filter the authors, included in XML sitemap.
*
* @param array $users Array of user objects to filter.
*/
return apply_filters( 'wpseo_sitemap_exclude_author', $users );
}