Clanbite

clanbite_country_flag_img_html( string $normalized_code, string $alt, array $context = array() ): string

Build default <img> markup for a flag, or use filter overrides.

Parameters

$normalized_code (string) Required

Country code.

$alt (string) Required

Accessible label (e.g. country name).

$context (array<string, mixed>) Optional

Merged with code/alt; may include class, width, height, entity, block_name, block, attributes.

Default: array()

Returns

string Safe HTML fragment or empty.

Defined in inc/functions-country-flags.php