Dashboard_Widgets
Admin Columns Class.
Namespace: WebberZone\Better_Search\Admin
Since: 3.3.0
Source: includes/admin/class-dashboard-widgets.php line 22
Methods
__construct()
Constructor class.
Since: 3.3.0
Line: 29
public function __construct( );
wp_dashboard_setup()
Function to add the widgets to the Dashboard.
Since: 3.3.0
Line: 38
public function wp_dashboard_setup( );
display() static
Create the Dashboard Widget and content of the Popular searches
Since: 3.3.0
Line: 62
static public function display( $daily = ... ): string;
| Type | Name | Description |
|---|---|---|
bool | $daily | Switch for Daily or Overall popular searches. |
Returns: string — Formatted list of popular searches.
widget() static
Widget for Popular Searches.
Since: 3.3.0
Line: 97
static public function widget( );
widget_daily() static
Widget for Daily Popular Searches.
Since: 3.3.0
Line: 107
static public function widget_daily( );