Can’t set “Enable posting for only these post types:” to none
-
It is impossible to set the checkboxes for post types to auto-publish for to none. It is handy to set this to none so that no post types auto post, but every post type has the option to post. This is needed for my scenario. I had to add this code in order for it to work:
add_action( "init", "ccsn_fp_save_settings", 100 ); function ccsn_fp_save_settings() { global $fp_settings; if ( isset( $_REQUEST['fp_general_settings'] ) && ! isset( $_REQUEST['fp_post_types'] ) ) { $fp_settings["fp_post_types"] = array(); } update_option( "fp_settings" , $fp_settings ); }
- The topic ‘Can’t set “Enable posting for only these post types:” to none’ is closed to new replies.