Forums
Home / Plugins / Hacks / How to automatically disable comments upon page creation?
(@chibib0)
12 years, 7 months ago
I have successfully made custom pages on plugin activation which i am developing. However, is there a way to automatically disable comments on a particular custom page? like using the function
update_post_meta($id, "_wp_page_template", "new_template.php");
Thank you.
I figured it out.
Thanks.
(@chibib0)
12 years, 7 months ago
I have successfully made custom pages on plugin activation which i am developing. However, is there a way to automatically disable comments on a particular custom page? like using the function
update_post_meta($id, "_wp_page_template", "new_template.php");
Thank you.