Support

Account

Home Forums ACF PRO Adding locations to a field group Reply To: Adding locations to a field group

  • Hello John,
    Thanks for your answer, I think a filter is what I need but I’m not sure how to modify $group
    I think I have to add this (my 2 CPT) :

    	'location' => array (
    		array (
    			array (
    				'param' => 'post_type',
    				'operator' => '==',
    				'value' => 'portfolio',
    			),
    		),
    		array (
    			array (
    				'param' => 'post_type',
    				'operator' => '==',
    				'value' => 'team',
    			),
    		),
    	)
    

    But I don’t know how 🙁