I’m interested in automating the set up process of a new site for our clients by programmatically adding several pages with BB modules on site creation (within multisite). Do you have any documentation on how I can add BB modules (both core and custom) to a page that I’ve added programmatically?
Beaver Builder data is stored in a post meta row with the key _fl_builder_data. I haven’t tried anything like this before, but you should be able to copy that post meta from an existing page to a new page to add BB modules programmatically.
You can create your pages on another sub-site on your network, and then use switch_to_blog to query them. Just make sure to call restore_current_blog once you have pulled the necessary post meta.
You’ll also wan’t to set the post meta _fl_builder_enabled to true for the new page so the builder will be active for it.