I am constructing a plugin that should create a customized Woo web page that can present a particular shortcode to its content material… The web page is added high-quality, however it additionally seems on the prime menu. I need to conceal that entry programmatically, however it doesn’t matter what filter (wp_page_menu_args, wp_list_pages_excludes, and a pair extra) I hooked to, it would not work. Principally I am utilizing the inventory Twenty Twenty-Two theme, which does not even help a menu customizer, however I need a common answer anyway, that can conceal the web page from the frontend menu, it doesn’t matter what kind of theme the admin shall be utilizing of their web site.
Any assist shall be a lot appreciated.