Blocks

Add_Scss_To_All_File
in package

Handles the addition of SCSS to the all file.

Table of Contents

Properties

$theme_slug  : string

Methods

__construct()  : mixed
Constructor for class.
handle()  : mixed
Delegates the SCSS generation to the theme modifier.

Properties

Methods

__construct()

Constructor for class.

public __construct(string $theme_slug) : mixed
Parameters
$theme_slug : string

The slug of the theme.

handle()

Delegates the SCSS generation to the theme modifier.

protected handle() : mixed
Tags
throws
Exception

If the block already exists.


        
On this page

Search results