joe_g Posted May 3, 2015 Posted May 3, 2015 Hello, is there a way I can copy a template via the API similar to how it's done in the backend, copying fields and all? thanks j
adrian Posted May 4, 2015 Posted May 4, 2015 Try this: $t = $templates->get("basic-page"); $nt = $templates->clone($t); $nt->save(); 4
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now