diff --git a/inc/Admin.php b/inc/Admin.php index ee39709..0343e87 100644 --- a/inc/Admin.php +++ b/inc/Admin.php @@ -66,7 +66,7 @@ public function setup_admin_hooks() { add_action( 'enqueue_block_editor_assets', array( $this, 'add_fse_design_pack_notice' ) ); add_action( 'wp_ajax_neve_fse_dismiss_design_pack_notice', array( $this, 'remove_design_pack_notice' ) ); - add_action( 'activated_plugin', 'after_otter_activation' ); + add_action( 'activated_plugin', array( $this, 'after_otter_activation' ) ); add_action( 'wp_ajax_neve_fse_set_otter_ref', array( $this, 'set_otter_ref' ) ); }