Recent

Styles_Handler class

Styles_Handler

Styles Handler class.

Namespace: WebberZone\Code_Block_Highlighting\Frontend
Since: 1.0.0
Source: includes/frontend/class-styles-handler.php line 23

Methods

__construct()

Constructor.

Since: 1.0.0
Line: 30

public function __construct(  );

enqueue_assets()

Enqueue syntax highlighting assets on the frontend.

Assets are only loaded when at least one core/code block is present on the current page, unless the wzcbh_force_load_assets filter returns true. Delegates to the client-mode or server-mode enqueue helper based on the active highlighting-mode setting.

Since: 1.0.0
Line: 44

public function enqueue_assets(  ): void;

Returns: void