vapvarun

Remove Header and Social Field options from BP Profile Edit

Feb 4th, 2020 (edited)
745
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. function header_edit() {
  2.     remove_action( 'bp_after_profile_field_content', 'reign_rtm_header_view_mgmt_section', 10, 0 );
  3.     remove_action( "bp_after_profile_field_content", "reign_user_social_fields" );
  4. }
  5. add_action( 'bp_init', 'header_edit', 1);
Add Comment
Please, Sign In to add comment