Settings_List

Builds the list of settings to use on the plugin settings pages.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

get_all_settings()  : array<string|int, mixed>
Get the list of settings of this plugin.
get_icon()  : string
Get an icon for the plugin's settings.
get_taxonomy_settings()  : array<string|int, mixed>
Get taxonomy settings for the plugin options panel.

Methods

get_all_settings()

Get the list of settings of this plugin.

public static get_all_settings(Licensed_Plugin $plugin) : array<string|int, mixed>
Parameters
$plugin : Licensed_Plugin
Return values
array<string|int, mixed>

get_icon()

Get an icon for the plugin's settings.

private static get_icon(string $icon[, string $alt_text = '' ]) : string
Parameters
$icon : string
$alt_text : string = ''
Return values
string

get_taxonomy_settings()

Get taxonomy settings for the plugin options panel.

private static get_taxonomy_settings() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results