WPSEO_Metabox::is_post_overview()public staticYoast 1.0

Checks if the page is the post overview page.

Метод класса: WPSEO_Metabox{}

Хуков нет.

Возвращает

true|false. Whether or not the given page is the post overview page.

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

$result = WPSEO_Metabox::is_post_overview( $page );
$page(строка) (обязательный)
The page to check for the post overview page.

Код WPSEO_Metabox::is_post_overview() Yoast 22.3

public static function is_post_overview( $page ) {
	return $page === 'edit.php';
}