Yoast\WP\SEO\Integrations
Primary_Category::get_conditionals() public Yoast 1.0
Returns the conditionals based on which this loadable should be active.
In this case only when on the frontend, the post overview, post edit or new post admin page.
{} Это метод класса: Primary_Category{}
Хуков нет.
Возвращает
Массив. The conditionals.
Использование
$result = Primary_Category::get_conditionals();
Код Primary_Category::get_conditionals() Primary Category::get conditionals Yoast 15.6.2
public static function get_conditionals() {
return [ Primary_Category_Conditional::class ];
}