Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi guys,
so right now I am trying to make the life of our editor much easier (and mine, too). I wanted to let them just “fill out” a prebuilt layout so that they won’t mess anything up.
WordPress helps you to set default content when creating a new post via it’s filters (
add_filter( 'default_content', 'my_editor_content', 10, 2 );). Unfortunately this doesn’t work with the page builder.
My question therefore is: Is it possible to programmatically set the default content of a new post/page to a prebuilt layout via php/js?
Thanks a lot fot your help!