Statistics
Better_Search_Statistics class.
Renders the popular searches page.
Namespace: WebberZone\Better_Search\Admin
Since: 3.3.0
Source: includes/admin/class-statistics.php line 23
Methods
__construct()
Class constructor.
Line: 47
public function __construct( ): void;
Returns: void
admin_enqueue_scripts()
Enqueue scripts in admin area.
Since: 3.0.0
Line: 60
public function admin_enqueue_scripts( $hook );
| Type | Name | Description |
|---|---|---|
string | $hook | The current admin page. |
admin_menu()
Admin Menu.
Since: 3.0.0
Line: 72
public function admin_menu( );
set_screen() static
Set screen.
Line: 102
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: 109
public function render_page( );
screen_option()
Screen options
Line: 148
public function screen_option( );