mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge pull request #895 from ultimatemember/fix/nav_menu_condition_custom_link
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