Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #9237, comment 4


Ignore:
Timestamp:
10/02/2024 03:29:39 PM (6 months ago)
Author:
emaralive
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9237, comment 4

    initial v1  
    1111{{{
    1212$all_components    = array_merge( bp_core_get_components( 'required' ), bp_core_get_components( 'optional' ) );
    13 $active_components = array_merge( buddypress()->active_components, array( 'core' => '1' );
     13$active_components = array_merge( buddypress()->active_components, array( 'core' => '1' ) );
    1414$active_components = wp_list_pluck( array_intersect_key( $all_components, $active_components ), 'title' );
    1515}}}