Admin
Class to register the settings.
Namespace: WebberZone\WFP\Admin
Since: 3.1.0
Source: includes/admin/class-admin.php line 25
Methods
__construct()
Main constructor class.
Since: 3.1.0
Line: 130
public function __construct( );
hooks()
Run the hooks.
Since: 3.1.0
Line: 151
public function hooks( );
admin_enqueue_scripts()
Enqueue admin scripts and styles.
Since: 3.1.0
Line: 161
public function admin_enqueue_scripts( );
display_admin_sidebar() static
Display admin sidebar.
Since: 3.1.0
Line: 248
static public function display_admin_sidebar( );
pro_upgrade_banner() static
Display Pro upgrade banner.
Since: 3.2.0
Line: 260
static public function pro_upgrade_banner( $donate = ..., $custom_text = ... );
| Type | Name | Description |
|---|---|---|
bool | $donate | Whether to show the donate banner. |
string | $custom_text | Custom text to show in the banner. |
clear_cache_ajax()
AJAX handler to clear the cache.
Since: 3.2.0
Line: 281
public function clear_cache_ajax( );