Autopublish Issue
-
Hi,
I’m using the filter below to make new form submissions publish posts by default. However, its not working:add_filter( ‘cf7_2_post_status_orders’, ‘publish_new_post’,10,3); function publish_new_post($status, $ckf7_key, $submitted_data){ return ‘publish’; }
I’ve checked the name of the post-type and it appears correct.
Any ideas?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Autopublish Issue’ is closed to new replies.