wpseo_deactivate хук-событие . Yoast 1.0
Clear cache so the changes are obvious.
Использование
add_action( 'wpseo_deactivate', 'action_function_name_7388' ); function action_function_name_7388(){ // action... }
Где вызывается хук
yoast/wp-seo-main.php 236
do_action( 'wpseo_deactivate' );
Где используется хук в ядре Yoast SEO
yoast/admin/class-yoast-notification-center.php 73
add_action( 'wpseo_deactivate', [ $this, 'deactivate_hook' ] );
yoast/src/integrations/watchers/indexable-permalink-watcher.php 84
\add_action( 'wpseo_deactivate', [ $this, 'unschedule_cron' ] );