Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Force Creating The Profile Edit Page
- function yzc_force_creating_profile_edit_page() {
- bp_core_new_subnav_item( array(
- 'slug' => 'edit',
- 'name' => __( 'Profile Settings', 'youzer' ),
- 'parent_slug' => 'profile',
- 'parent_url' => yz_get_profile_settings_url(),
- 'screen_function' => 'yz_get_profile_settings_page',
- )
- );
- }
- add_action( 'bp_actions', 'yzc_force_creating_profile_edit_page', 101 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement