WPSEO_Customizer::breadcrumbs_section()
Add the breadcrumbs section to the customizer.
Метод класса: WPSEO_Customizer{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->breadcrumbs_section();
Код WPSEO_Customizer::breadcrumbs_section() WPSEO Customizer::breadcrumbs section Yoast 21.6
private function breadcrumbs_section() { $section_args = [ /* translators: %s is the name of the plugin */ 'title' => sprintf( __( '%s Breadcrumbs', 'wordpress-seo' ), 'Yoast SEO' ), 'priority' => 999, 'active_callback' => [ $this, 'breadcrumbs_active_callback' ], ]; $this->wp_customize->add_section( 'wpseo_breadcrumbs_customizer_section', $section_args ); }