WPSEO_Author_Sitemap_Provider::exclude_users
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 28.2
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 );
}