[Plugin: Site Template] Please add hooks
-
Hi Michael,
Thanks for you plugin. I find it very helpful. There are a couple simple things that would make it even better. When I clone a site, only the default WordPress templates get copied. This is a problem because I need to copy other plugin’s tables too. Can you please add action hooks at various places throughout your plugin?
The end of st_wpmu_new_blog() could use one (don’t forget to pass $blog_id and $template), then I can hook and copy whatever tables I need.
Also a filter on the return of st_get_templates or maybe the $templates variable inside st_signup_blogform() would be awesome. This way I could custom show and hide templates at runtime.
Cheers,
Matt
- The topic ‘[Plugin: Site Template] Please add hooks’ is closed to new replies.