admin管理员组文章数量:1125973
I am currently using add_menu_page in my PHP plugin to add a menu item to the main left-hand menu in the WordPress Admin panel.
However; I am wondering if it is possible to achieve the same result with JavaScript using the WordPress React frontend system? This would suit me better as I could add event handlers to the elements on the page and link them with existing frontend (Gutenberg) code.
(I have found the documentation for adding SlotFills - / - but this seems to be about panels which appear on the right in the posts / customs posts screens, not for the main menu on the left-hand side).
Thanks
本文标签: block editorIs there a frontend equivalent for addmenupage
版权声明:本文标题:block editor - Is there a frontend equivalent for add_menu_page? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736631542a1945789.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论