MediaTextSlider
extends AbstractBlock
in package
Table of Contents
- $blockName : mixed
- $assetsAlreadyEnqueued : mixed
- __construct() : mixed
- block_editor_scripts() : mixed
- block_frontend_assets() : mixed
- block_frontend_styles() : mixed
- getBlockName() : mixed
- getDisabledOptionKey() : mixed
- getLabel() : mixed
- hasBlock() : mixed
- Assets optimization. Currently in Beta.
- isDisabled() : mixed
- isEnabled() : mixed
- pre_render_block() : mixed
- render_callback() : mixed
Properties
$blockName
protected
static mixed
$blockName
= 'getwid/media-text-slider'
$assetsAlreadyEnqueued
private
mixed
$assetsAlreadyEnqueued
= false
Methods
__construct()
public
__construct() : mixed
Return values
mixed —block_editor_scripts()
public
block_editor_scripts(mixed $scripts) : mixed
Parameters
- $scripts : mixed
Return values
mixed —block_frontend_assets()
public
block_frontend_assets() : mixed
Return values
mixed —block_frontend_styles()
public
block_frontend_styles(mixed $styles) : mixed
Parameters
- $styles : mixed
Return values
mixed —getBlockName()
public
static getBlockName() : mixed
Return values
mixed —getDisabledOptionKey()
public
getDisabledOptionKey() : mixed
Return values
mixed —getLabel()
public
getLabel() : mixed
Return values
mixed —hasBlock()
Assets optimization. Currently in Beta.
public
hasBlock() : mixed
Tags
Return values
mixed —isDisabled()
public
isDisabled() : mixed
Return values
mixed —isEnabled()
public
isEnabled() : mixed
Return values
mixed —pre_render_block()
public
pre_render_block(mixed $block_content, mixed $block) : mixed
Parameters
- $block_content : mixed
- $block : mixed
Return values
mixed —render_callback()
public
render_callback(mixed $attributes, mixed $content) : mixed
Parameters
- $attributes : mixed
- $content : mixed