WPSEO_Cornerstone_Filter::register_hooks()
Registers the hooks.
Метод класса: WPSEO_Cornerstone_Filter{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPSEO_Cornerstone_Filter = new WPSEO_Cornerstone_Filter(); $WPSEO_Cornerstone_Filter->register_hooks();
Код WPSEO_Cornerstone_Filter::register_hooks() WPSEO Cornerstone Filter::register hooks Yoast 23.5
public function register_hooks() { parent::register_hooks(); add_filter( 'wpseo_cornerstone_post_types', [ 'WPSEO_Post_Type', 'filter_attachment_post_type' ] ); add_filter( 'wpseo_cornerstone_post_types', [ $this, 'filter_metabox_disabled' ] ); }