Admin
Popular Authors Admin class.
Namespace: WebberZone\Popular_Authors\Admin
Since: 1.1.0
Source: includes/admin/class-admin.php line 21
Methods
__construct()
Constructor class.
Since: 1.1.0
Line: 37
public function __construct( );
register_deprecation_notice()
Register the deprecation (final release) notice.
Since: 1.5.0
Line: 51
public function register_deprecation_notice( );
admin_notices() static
Display notices in the admin screen if Top 10 v3 is not installed.
Since: 1.1.0
Line: 82
static public function admin_notices( );
add_settings_section() static
Add settings sections to Top 10 Admin.
Since: 1.1.0
Line: 111
static public function add_settings_section( $settings_sections ): array;
| Type | Name | Description |
|---|---|---|
array | $settings_sections | Settings sections array. |
Returns: array — Updated Settings sections.
settings_popular_authors() static
Popular author settings for the Top 10 settings page.
Since: 1.1.0
Line: 125
static public function settings_popular_authors( $settings ): array;
| Type | Name | Description |
|---|---|---|
array | $settings | Top 10 Settings array. |
Returns: array — Updated Top 10 settings array.
get_styles() static
Get the various styles.
Since: 1.2.0
Line: 273
static public function get_styles( ): array;
Returns: array — Style options.