Statistics
Top_Ten_Statistics class.
Namespace: WebberZone\Top_Ten\Admin
Source: includes/admin/class-statistics.php line 19
Methods
__construct()
Class constructor.
Line: 43
public function __construct( ): void;
Returns: void
admin_enqueue_scripts()
Enqueue scripts in admin area.
Since: 3.0.0
Line: 56
public function admin_enqueue_scripts( $hook );
| Type | Name | Description |
|---|---|---|
string | $hook | The current admin page. |
admin_menu()
Admin Menu.
Since: 3.0.0
Line: 68
public function admin_menu( );
set_screen() static
Set screen options.
Line: 89
static public function set_screen( $status, $option, $value ): string;
| Type | Name | Description |
|---|---|---|
string | $status | Status of screen. |
string | $option | Option name. |
string | $value | Option value. |
Returns: string — Value.
render_page()
Plugin settings page
Line: 96
public function render_page( );
screen_option()
Screen options
Line: 136
public function screen_option( );