How do I set default meta value by post type?
Question
I'm trying to set a meta variable depending on what custom post type is set but can't get my code to work. This is the function in the plugin that sets the metabox after the plugin has added it to the edit page:
function nd_options_metabox_post_header_img()
{
// $post is a
0
custom-post-types, meta-value, post-type
3 years
0 Answers
45 views