disable AddFunc Head & Footer Code for custom post types
-
Hi there I have a WP site where I created 7 custom post types(cpts).
Each of the cpt is saving meta information.
When testing that all my meta was saving ok for each cpt, I realize I have aFhfc_head_code and aFhfc_footer_code all over the place in my postmeta table.I see that you are using save_post to save these two meta info, but is there a way to disable aFhfc_head_code and aFhfc_footer_code for custom post type where you never need your plugin feature, maybe with a hook that check what post_type are you saving and then return if is not a page or a regular post.
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘disable AddFunc Head & Footer Code for custom post types’ is closed to new replies.