diff --git a/all_in_one_seo_pack.php b/all_in_one_seo_pack.php index c1368cbd0..8040c70b0 100644 --- a/all_in_one_seo_pack.php +++ b/all_in_one_seo_pack.php @@ -53,7 +53,7 @@ if ( AIOSEOPPRO ) { - add_action( 'admin_init', 'disable_all_in_one_free', 1 ); + add_action( 'admin_head', 'disable_all_in_one_free', 1 ); }