acf/location/validate_rule

acf/location/validate_rule

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.5

apply_filters('acf/location/validate_rule') is found 1 times:

  • /includes/locations.php line 169
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
         *
         * @param   array $rule The location rule.
         */
        $rule = apply_filters( "acf/location/validate_rule/type={$rule['param']}", $rule );
        $rule = apply_filters( 'acf/location/validate_rule', $rule );
        return $rule;
    }
     
    /**
     * Returns an array of operators for a given rule.
     *