Skip to content

Commit

Permalink
Update SiteFeatures.php
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Oct 18, 2023
1 parent 8861328 commit 864c15b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/SiteFeatures.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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 );
}

/**
Expand All @@ -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 );
}

}

0 comments on commit 864c15b

Please sign in to comment.