mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 22:54:03 +09:00
Merge branch 'fix/can_view_tab' of https://github.com/ultimatemember/ultimatemember into release/2.0.18
This commit is contained in:
@@ -1268,8 +1268,9 @@ add_action( 'um_after_profile_fields', 'um_add_submit_button_to_profile', 1000 )
|
||||
* @param array $args
|
||||
*/
|
||||
function um_profile_menu( $args ) {
|
||||
if ( ! UM()->options()->get( 'profile_menu' ) )
|
||||
if ( ! UM()->options()->get( 'profile_menu' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// get active tabs
|
||||
$tabs = UM()->profile()->tabs_active();
|
||||
|
||||
Reference in New Issue
Block a user