WPSEO_MyYoast_Proxy::register_hooks()
Registers the hooks when the user is on the right page.
Метод класса: WPSEO_MyYoast_Proxy{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPSEO_MyYoast_Proxy = new WPSEO_MyYoast_Proxy(); $WPSEO_MyYoast_Proxy->register_hooks();
Код WPSEO_MyYoast_Proxy::register_hooks() WPSEO MyYoast Proxy::register hooks Yoast 24.9
public function register_hooks() { if ( ! $this->is_proxy_page() ) { return; } // Register the page for the proxy. add_action( 'admin_menu', [ $this, 'add_proxy_page' ] ); add_action( 'admin_init', [ $this, 'handle_proxy_page' ] ); }