- fixed a visibility of custom link in a nav menu

This commit is contained in:
ashubawork
2021-08-19 11:38:23 +03:00
parent 6e4ed30171
commit 81eb759113
+3
View File
@@ -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