Snippets: Remove Extra User Options (social settings and staff relationship)

// Remove staff relationship
add_filter( 'wpex_staff_users_relations', '__return_false' );

// Removes social options
add_filter( 'wpex_get_user_social_profile_settings_array', '__return_null' );

Snippet Type: PHP

Posted Under: Other

All PHP snippets should be added via a child theme's functions.php file.