New_user_approve_activate Perform A Custom Action When The New User Approve Plugin Is Activated. function activate_plugin() { // add code for when the plugin is activated } add_action( 'new_user_approve_activate', 'activate_plugin' ); Back to actions