Here is an interesting edge case where we are dynamically displaying a frontend submission form in a modal window to edit a custom post type. The form and content is being called and displayed, however the magic in mbfs
script and mbfs-form
style, and the localization that is called from MBFS\DashboardRenderer::enqueue() needs to be enqueued manually. Since the enqueue() function is private, it can not be called externally. Is there a best practice, or recommended method to enqueue and localize the style and script to make the frontend submission do it's thing?
Thank you in advance.