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 ); } }