Styles_Handler
Admin Columns Class.
Namespace: WebberZone\WFP\Frontend
Since: 3.1.0
Source: includes/frontend/class-styles-handler.php line 22
Methods
__construct()
Constructor class.
Since: 3.1.0
Line: 38
public function __construct( );
wp_enqueue_scripts() static
Enqueue scripts and styles.
Since: 3.1.0
Line: 47
static public function wp_enqueue_scripts( );
register_styles() static
Register styles.
Since: 3.1.0
Line: 59
static public function register_styles( ): array;
Returns: array — Style names.
get_style() static
Get the current style for the followed posts.
Since: 3.1.0
Line: 115
static public function get_style( $style = ... ): array;
| Type | Name | Description |
|---|---|---|
string | $style | Style parameter. |
Returns: array — Contains two elements:
enqueue_style() static
Enqueue a specific styles.
Since: 3.1.0
Line: 177
static public function enqueue_style( $style );
| Type | Name | Description |
|---|---|---|
string | $style | Style name. |