Created
October 18, 2020 08:36
-
-
Save wpninj/f024ec55b5003de64bb992c206a29f1a to your computer and use it in GitHub Desktop.
Adava theme remove required plugin activation notice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* remove avada required plugin activation notice */ | |
add_action( 'init', 'op_avada_child_init', 11 ); | |
function op_avada_child_init() { | |
remove_action( 'admin_notices', array( Avada_TGM_Plugin_Activation::$instance, 'notices' ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment