Yoast_Dashboard_Widget::register_hooks()publicYoast 1.0

Register WordPress hooks.

Метод класса: Yoast_Dashboard_Widget{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$Yoast_Dashboard_Widget = new Yoast_Dashboard_Widget();
$Yoast_Dashboard_Widget->register_hooks();

Код Yoast_Dashboard_Widget::register_hooks() Yoast 19.11

public function register_hooks() {
	add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_dashboard_assets' ] );
	add_action( 'admin_init', [ $this, 'queue_dashboard_widget' ] );
}