Yoast\WP\SEO\Content_Type_Visibility\Application
Content_Type_Visibility_Watcher_Actions::register_hooks()
Initializes the integration.
Register actions that are used in the post types and taxonomies indexable watcher.
Метод класса: Content_Type_Visibility_Watcher_Actions{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Content_Type_Visibility_Watcher_Actions = new Content_Type_Visibility_Watcher_Actions(); $Content_Type_Visibility_Watcher_Actions->register_hooks();
Код Content_Type_Visibility_Watcher_Actions::register_hooks() Content Type Visibility Watcher Actions::register hooks Yoast 24.4
public function register_hooks() { // Used in Idexable_Post_Type_Change_Watcher class. \add_action( 'new_public_post_type_notifications', [ $this, 'new_post_type' ], 10, 1 ); \add_action( 'clean_new_public_post_type_notifications', [ $this, 'clean_new_public_post_type' ], 10, 1 ); // Used in Idexable_Taxonomy_Change_Watcher class. \add_action( 'new_public_taxonomy_notifications', [ $this, 'new_taxonomy' ], 10, 1 ); \add_action( 'clean_new_public_taxonomy_notifications', [ $this, 'clean_new_public_taxonomy' ], 10, 1 ); }