Support

Account

Forum Replies Created

  • Hello @J_M you need to add this to your functions.php to be able to see the option on the dropdown.

    //add ACF rule
    add_filter('acf/location/rule_values/post_type', 'acf_location_rule_values_Post');
    function acf_location_rule_values_Post( $choices ) {
    	$choices['product_variation'] = 'Product Variation';
        //print_r($choices);
        return $choices;
    }
Viewing 1 post (of 1 total)