Yoast\WP\SEO\Schema_Aggregator\Application
Schema_Aggregator_Announcement::should_show
Returns whether this introduction should show.
Метод класса: Schema_Aggregator_Announcement{}
Хуков нет.
Возвращает
true|false. Whether this introduction should show.
Использование
$Schema_Aggregator_Announcement = new Schema_Aggregator_Announcement(); $Schema_Aggregator_Announcement->should_show();
Код Schema_Aggregator_Announcement::should_show() Schema Aggregator Announcement::should show Yoast 27.7
public function should_show() {
return $this->current_page_helper->is_yoast_seo_page()
&& $this->is_user_allowed( [ 'wpseo_manage_options' ] );
}