apply_filters( 'clanbite_country_flag_file_path', string $path, string $normalized_code, array $context )Filter resolved flag SVG path on disk.
Filter PHP
Parameters
$path(string)Absolute path or empty.
$normalized_code(string)Normalized country code.
$context(array)Arbitrary context:
entity,block_name,block, etc.
Example
add_filter( 'clanbite_country_flag_file_path', function ( $path, $normalized_code, $context ) {
// Change $path here.
return $path;
}, 10, 3 );Defined in inc/functions-country-flags.php