Recent

Styles_Handler class

Styles_Handler

Styles Handler Class.

Namespace: WebberZone\Top_Ten\Frontend
Since: 3.3.0
Source: includes/frontend/class-styles-handler.php line 21

Methods

__construct()

Constructor class.

Since: 3.3.0
Line: 28

public function __construct(  );

header() static

Function to add CSS to header.

Since: 1.9
Line: 38

static public function header(  );

register_styles() static

Enqueue styles.

Line: 51

static public function register_styles(  );

get_stylesheet_path() static

Get stylesheet path accounting for minified and pro files.

Since: 4.2.0
Line: 84

static public function get_stylesheet_path( $style, $is_rtl = ... ): string;
TypeNameDescription
string$styleStyle name.
bool$is_rtlWhether RTL stylesheet should be loaded.

Returns: string

get_style() static

Get the current style for the popular posts.

Since: 3.2.0
Line: 108

static public function get_style( $style = ... ): array;
TypeNameDescription
string$styleStyle parameter.

Returns: array — Contains two elements: