/** * Returns the metabox section for the settings. * * @return WPSEO_Metabox_Section */ private function get_settings_meta_section() { $taxonomy_settings_fields = new WPSEO_Taxonomy_Settings_Fields($this->term); $content = $this->taxonomy_tab_content->html($taxonomy_settings_fields->get()); $tab = new WPSEO_Metabox_Form_Tab('settings', $content, __('Settings', 'wordpress-seo')); return new WPSEO_Metabox_Tab_Section('settings', '<span class="dashicons dashicons-admin-generic"></span>', array($tab), array('link_title' => __('Settings', 'wordpress-seo'))); }
/** * Returns the metabox section for the settings. * * @return WPSEO_Metabox_Section */ private function get_settings_meta_section() { $taxonomy_settings_fields = new WPSEO_Taxonomy_Settings_Fields($this->term); $content = $this->taxonomy_tab_content->html($taxonomy_settings_fields->get()); $tab = new WPSEO_Metabox_Form_Tab('settings', $content, __('Settings', 'wordpress-seo'), array('single' => true)); return new WPSEO_Metabox_Tab_Section('settings', '<span class="screen-reader-text">' . __('Settings', 'wordpress-seo') . '</span><span class="dashicons dashicons-admin-generic"></span>', array($tab), array('link_aria_label' => __('Settings', 'wordpress-seo'), 'link_class' => 'yoast-tooltip yoast-tooltip-e')); }