mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 19:56:27 +09:00
- fixed a visibility of custom link in a nav menu
This commit is contained in:
@@ -1070,6 +1070,9 @@ if ( ! class_exists( 'um\core\Access' ) ) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
} elseif ( isset( $menu_item->type ) && 'custom' === $menu_item->type ) {
|
||||
$filtered_items[] = $menu_item;
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
//add all other posts
|
||||
|
||||
Reference in New Issue
Block a user