wp_schedule_single_event issue with save_post hook in gutenberg
wp_schedule_single_event issue with save_post hook in gutenberg
wp_schedule_single_event issue with save_post hook in gutenberg
Pass PHP vars to gutenberg sidebar
WP Gutenberg Blocks – How to limit first/root blocks
I managed to get it to work, here is the correct code: JS file const { __ } = wp.i18n; const { registerBlockType } = wp.blocks; const { InspectorControls} = wp.blockEditor; const { PanelBody,ToggleControl } = wp.components; const BlockEdit = (props) => { const { attributes, setAttributes } = props; const { haveRead } = … Read more
Getting meta in editor plugin, and event triggering issue
WordPress filter post content with PHP before editing it in Gutenberg
I know it’s been awhile, but yes. You can check if a post uses blocks, check out has_blocks() : https://developer.wordpress.org/reference/functions/has_blocks/ I’m using it when filtering content, to see if I need to parse blocks or not.
How to get current post id in Gutenberg Block save function?
What’s the right way to instantiate new blocks and/or the plugin itself in toto when using wppb architecture?
Gutenberg block missing classes inside editor