Yoast\WP\SEO\Helpers

Post_Helper::get_excluded_post_statuses()publicYoast 1.0

Retrieves the list of excluded post statuses.

{} Это метод класса: Post_Helper{}

Хуков нет.

Возвращает

Массив. The excluded post statuses.

Использование

$Post_Helper = new Post_Helper();
$Post_Helper->get_excluded_post_statuses();

Код Post_Helper::get_excluded_post_statuses() Yoast 19.7.1

public function get_excluded_post_statuses() {
	return [ 'auto-draft' ];
}