\GE_Block_Render

Gutenberg block rendering for PHP.

.. Script enqueuing and renders for specific blocks

Summary

Methods
Properties
Constants
enqueue_blocks()
get_strings()
register_block_renders()
register_export_block_renders()
render_block_menu()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$export
N/A

Properties

$export

$export : 

Type

Methods

enqueue_blocks()

enqueue_blocks() : void

Enqueue blocks for plugin

get_strings()

get_strings() : array

Strings for all goldenegg gutenberg blocks

Returns

array —

Translated strings

register_block_renders()

register_block_renders() : void

Registers gutenberg blocks for plugin

register_export_block_renders()

register_export_block_renders() : void

Registers gutenberg blocks for theme generation

render_block_menu()

render_block_menu(array  $attributes) : string

Renders block menu

Parameters

array $attributes

Gutenberg attributes

Returns

string —

Code that will replace gutenberg marks