Property | Type | Description | |
---|---|---|---|
$css_name | CSS script name identifier to be used with enqueuing. | ||
$js_name | JavaScript name identifier to be used with enqueuing. |
Property | Type | Description | |
---|---|---|---|
$page_base_file | The page base file. |
Method | Description | |
---|---|---|
admin_redirect ( string $page, array $query_args = [] ) : null | Redirect the user to an admin page, and add query args to the URL string for alerts, etc. | |
enqueue_admin_css ( $hook ) | CSS for the AutoDescription Bar | |
enqueue_admin_javascript ( string $hook ) | Enqueues scripts. | |
enqueue_admin_scripts ( string $hook ) | Enqueues scripts in the admin area on the supported screens. | |
init_admin_scripts ( $direct = false ) | Registers admin scripts and styles. | |
localize_admin_javascript ( ) | Localizes admin javascript. | |
register_admin_javascript ( ) | Registers admin CSS. | |
wp_ajax_update_counter_type ( ) | Handles counter option update on AJAX request. |
Method | Description | |
---|---|---|
__construct ( ) | Constructor. Loads parent constructor, registers script names and adds actions. | |
get_javascript_l10n ( ) : array | Generate Javascript Localization. | |
register_admin_css ( ) | Registers Admin CSS. |
protected __construct ( ) |
public enqueue_admin_css ( $hook ) | ||
$hook | the current page |
public enqueue_admin_javascript ( string $hook ) | ||
$hook | string | The current page hook. |
public enqueue_admin_scripts ( string $hook ) | ||
$hook | string | The current page hook. |
protected get_javascript_l10n ( ) : array | ||
return | array | $strings The l10n strings. |
public init_admin_scripts ( $direct = false ) |
public localize_admin_javascript ( ) |
public wp_ajax_update_counter_type ( ) |