WPSEO_Author_Sitemap_Provider::exclude_users()protectedYoast 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() Yoast 22.4

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 );
}