acf/location/validate_rule

acf/location/validate_rule

Hook Type: filter

See hook in core

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

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

  • /includes/locations.php line 167
    	 *
    	 * @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.
     *