WPSEO_Post_Type::get_accessible_post_types()
Returns an array with the accessible post types.
An accessible post type is a post type that is public and isn't set as no-index (robots).
Метод класса: WPSEO_Post_Type{}
Хуков нет.
Возвращает
Массив
. Array with all the accessible post_types.
Использование
$result = WPSEO_Post_Type::get_accessible_post_types();
Код WPSEO_Post_Type::get_accessible_post_types() WPSEO Post Type::get accessible post types Yoast 24.9
public static function get_accessible_post_types() { return YoastSEO()->helpers->post_type->get_accessible_post_types(); }