Programmatically update hide posts checkboxes
-
Hi,
I am creating a plugin that needs to integrate with your plugin when my plugin creates the posts using wp_insert_post. Is there a way I programmatically update those hide posts checkboxes?My Code is not updating
update_post_meta(129, ‘whp_hide_on_search’, 0);
add_post_meta(129, ‘whp_hide_on_search’, 1);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Programmatically update hide posts checkboxes’ is closed to new replies.