Yoast\WP\SEO\AI\Content_Planner\User_Interface
Content_Planner_Integration::register_hooks
Initializes the integration.
This is the place to register hooks and filters.
Метод класса: Content_Planner_Integration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Content_Planner_Integration = new Content_Planner_Integration(); $Content_Planner_Integration->register_hooks();
Код Content_Planner_Integration::register_hooks() Content Planner Integration::register hooks Yoast 28.3
public function register_hooks() {
\add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] );
// Enqueue after Elementor_Premium integration, which re-registers the assets.
\add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_assets' ], 11 );
}