Set a prebuild layout as default_content when creating a new page
10 years ago
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!
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium