WPSEO_Taxonomy::__construct()
Class constructor.
Метод класса: WPSEO_Taxonomy{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPSEO_Taxonomy = new WPSEO_Taxonomy(); $WPSEO_Taxonomy->__construct();
Код WPSEO_Taxonomy::__construct() WPSEO Taxonomy:: construct Yoast 24.0
public function __construct() { $this->taxonomy = $this::get_taxonomy(); add_action( 'edit_term', [ $this, 'update_term' ], 99, 3 ); add_action( 'init', [ $this, 'custom_category_descriptions_allow_html' ] ); add_action( 'admin_init', [ $this, 'admin_init' ] ); if ( self::is_term_overview( $GLOBALS['pagenow'] ) ) { new WPSEO_Taxonomy_Columns(); } $this->analysis_seo = new WPSEO_Metabox_Analysis_SEO(); $this->analysis_readability = new WPSEO_Metabox_Analysis_Readability(); $this->analysis_inclusive_language = new WPSEO_Metabox_Analysis_Inclusive_Language(); }