diff --git a/functions.php b/functions.php index 659645d..e3d65e8 100644 --- a/functions.php +++ b/functions.php @@ -230,11 +230,11 @@ function remove_core_widgets() { } add_action( 'widgets_init', 'remove_core_widgets' ); -function show_people(){ +function cornerstone_show_people(){ if ( !is_plugin_active('uc-people/uc-people.php') ) { activate_plugin('uc-people/uc-people.php'); } }; -add_action( 'after_switch_theme', 'show_people' ); +add_action( 'admin_init', 'cornerstone_show_people' ); ?> \ No newline at end of file