bp_core_removed_subnav_item

bp_core_removed_subnav_item

Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.3.3

do_action('bp_core_removed_subnav_item') is found 1 times:

  • /bp-core/bp-core-buddybar.php line 932
    928
    929
    930
    931
    932
    933
    934
    935
    936
    937
    938
    * @param string               $parent_slug The slug of the primary navigation item.
     * @param string               $slug        The slug of the secondary item to be removed.
     * @param string|null          $component   The component the navigation is attached to. Defaults to 'members'.
     */
    do_action( 'bp_core_removed_subnav_item', $screen_functions, $parent_slug, $slug, $component );
     
    if ( ! is_array( $screen_functions ) ) {
        return false;
    }
     
    $screen_function = reset( $screen_functions );