From 864c15b9d981264c2e2ed80a15c6818cdae3244c Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Wed, 18 Oct 2023 12:48:47 +0530 Subject: [PATCH] Update SiteFeatures.php --- includes/SiteFeatures.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/SiteFeatures.php b/includes/SiteFeatures.php index 607c0a8..b6a8252 100644 --- a/includes/SiteFeatures.php +++ b/includes/SiteFeatures.php @@ -303,7 +303,7 @@ public static function get_init() { * @param boolean $selected Selected/Unselected list of plugins * @return array */ - public static function filter_selected( $plugins, $selected ) { + public static function filter( $plugins, $selected ) { $selected_plugins = array(); $flow_data = FlowService::read_data_from_wp_option( false ); @@ -327,7 +327,7 @@ public static function filter_selected( $plugins, $selected ) { * @return array */ public static function get_selected() { - return self::filter_selected( self::get_init(), true ); + return self::filter( self::get_init(), true ); } /** @@ -336,7 +336,7 @@ public static function get_selected() { * @return array */ public static function get_unselected() { - return self::filter_selected( self::get_init(), false ); + return self::filter( self::get_init(), false ); } }