Listing Texts of Which Custom Field is Null

Don’t let the fields be set to null or unset altogether. The queries needed to get that data are not efficient. Set your field to “no” or some other value. function save_details(){ global $post; if (defined(‘DOING_AUTOSAVE’) && DOING_AUTOSAVE) { return $post->ID; } $valid = array( ‘yes’ => ‘yes’, ‘no’ => ‘no’ ); if ( isset … Read more