Recent

Icon_Helperclass

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: 90

static public function get_icon( $icon_style, $custom_icon = ... ): string;
Type Name Description
string $icon_style Icon style key.
string $custom_icon Custom icon value.

Returns: string — Icon text.

get_download_icon() static

Get the icon used for downloadable file links.

Since: 1.6.0
Line: 108

static public function get_download_icon(  ): string;

Returns: string — Download icon text.