Yoast\WP\SEO\Dashboard\User_Interface\Setup
Setup_Url_Interceptor::register_hooks()
Registers the interceptor code to the admin_init function.
Метод класса: Setup_Url_Interceptor{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Setup_Url_Interceptor = new Setup_Url_Interceptor(); $Setup_Url_Interceptor->register_hooks();
Код Setup_Url_Interceptor::register_hooks() Setup Url Interceptor::register hooks Yoast 25.1
public function register_hooks() { \add_filter( 'admin_menu', [ $this, 'add_redirect_page' ] ); \add_action( 'admin_init', [ $this, 'intercept_site_kit_setup_url_redirect' ], 1 ); }