Skip to:
Content

BuddyPress.org

Changeset 3487


Ignore:
Timestamp:
11/27/2010 02:02:42 PM (14 years ago)
Author:
boonebgorges
Message:

Adds do_action hook to bp_core_add_settings_nav(). Fixes #2280. Props lunabyte

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-settings.php

    r3466 r3487  
    2424    if ( !is_super_admin() && !isset( $bp->site_option['bp-disable-account-deletion'] ) )
    2525        bp_core_new_subnav_item( array( 'name' => __( 'Delete Account', 'buddypress' ), 'slug' => 'delete-account', 'parent_url' => $settings_link, 'parent_slug' => $bp->settings->slug, 'screen_function' => 'bp_core_screen_delete_account', 'position' => 90, 'user_has_access' => bp_is_my_profile() ) );
     26   
     27    do_action( 'bp_core_settings_setup_nav' );
    2628}
    2729add_action( 'bp_setup_nav', 'bp_core_add_settings_nav' );
Note: See TracChangeset for help on using the changeset viewer.