Yoast_Plugin_Conflict_Ajax::__construct()publicYoast 1.0

Initialize the hooks for the AJAX request.

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

Хуков нет.

Возвращает

null. Ничего.

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

$Yoast_Plugin_Conflict_Ajax = new Yoast_Plugin_Conflict_Ajax();
$Yoast_Plugin_Conflict_Ajax->__construct();

Код Yoast_Plugin_Conflict_Ajax::__construct() Yoast 19.10

public function __construct() {
	add_action( 'wp_ajax_wpseo_dismiss_plugin_conflict', [ $this, 'dismiss_notice' ] );
}