Support

Account

Home Forums ACF PRO Once checked, always true Reply To: Once checked, always true

  • A true/false field saves either a 1 or 0. Add the value you want to select by to your meta_query argument. It would probably also be a good idea to set the type to numeric.

    
    'meta_query' => array(
                      array(
                        'key'   => 'featured-home',
                        'value' => 1,
                        'type'  => 'numeric',
                      )
                    )