New methods for adding custom elements to Layout Builder?
-
Topic
-
So it seems the old public functions for adding your own custom builder elements are no more:
http://dev.themeblvd.com/tutorial/add-remove-builder-elements/
Those functions don’t exist in the latest layout builder plugin. So I poked around and attempted to manually use add_element() on the instance of the Theme_Blvd_Builder_API, and even tried the “themeblvd_get_elements” filter, adding my own element data array just like the others in the API. Nothing resulted in my element being shown in the dropdown of available elements…
Any hints on how to inject custom elements with the latest API?
- You must be logged in to reply to this topic.