Wincher_Dashboard_Widget::register_hooks()publicYoast 1.0

Register WordPress hooks.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код Wincher_Dashboard_Widget::register_hooks() Yoast 24.0

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