Support

Account

Home Forums Add-ons Options Page Using || Or with get_fields Reply To: Using || Or with get_fields

  • Hi @nikcree

    If the fields are all from an options page, should they not be more like:

    
    if( get_field('acf_address','option') ||
    	 		get_field('acf_address_2','option') ||
    	 		get_field('acf_address_city','option') ||
    	 		get_field('acf_address_state','option') ||
    	 		get_field('acf_address_postcode','option') ||
    	 		get_field('acf_address_country','option')
    	 ):