Class Gutenberg
This module integrates the plugin with the Gutenberg editor
-
WPGMZA\Factory
-
WPGMZA\Integration\Gutenberg
Methods summary
public
|
|
public
|
#
onEnqueueBlockAssets( )
Enqueues assets to be used with the Gutenberg editor
Enqueues assets to be used with the Gutenberg editor
|
public
|
#
onInit( )
Called on the WordPress init action. This function strips out JS module generated by the babel compiler, for browser compatibility.
Called on the WordPress init action. This function strips out JS module generated by the babel compiler, for browser compatibility.
|
public
|
#
onRender( mixed[] $attr )
Called to render the plugins Gutenberg block front end.
Called to render the plugins Gutenberg block front end.
Parameters
- $attr
- $atts An array of attributes passed in from the editor.
|