WPSEO_Metabox_Collapsibles_Sections::has_sections │ protected │ Yoast 1.0

Checks whether the tab has any sections.

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

Хуков нет.

Возвращает

bool. Whether the tab has any sections

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->has_sections();

Код WPSEO_Metabox_Collapsibles_Sections::has_sections() Yoast 28.9

protected function has_sections() {
	return ! empty( $this->collapsibles );
}