Blocks

Block_Replacements
in package

Handles the replacements for the block.

Table of Contents

Properties

$block_details  : Block_Details
The class for holding the block details.

Methods

__construct()  : mixed
Constructor.
get_replacements()  : array<string|int, mixed>
Gets the replacements.
replace_string()  : string
Replaces the placeholders in a string.

Properties

Methods

get_replacements()

Gets the replacements.

public get_replacements() : array<string|int, mixed>
Return values
array<string|int, mixed>

replace_string()

Replaces the placeholders in a string.

public replace_string(string $string) : string
Parameters
$string : string

The string to replace the placeholders in.

Return values
string

        
On this page

Search results