Recent

Icon_Helper class

Icon_Helper

Icon Helper class.

Namespace: WebberZone\Link_Warnings\Util
Since: 1.0.0
Source: includes/util/class-icon-helper.php line 23

Methods

get_icon_options() static

Get available icon options.

Since: 1.0.0
Line: 31

static public function get_icon_options(  ): array;

Returns: array — Icon options with key => label pairs.

get_icon_map() static

Get icon map (icon keys to actual icon values).

Since: 1.0.0
Line: 59

static public function get_icon_map(  ): array;

Returns: array — Icon map.

get_icon() static

Get icon for display.

Since: 1.0.0
Line: 89

static public function get_icon( $icon_style, $custom_icon = ... ): string;
TypeNameDescription
string$icon_styleIcon style key.
string$custom_iconCustom icon value.

Returns: string — Icon text.