Blocks

Add Custom Settings to Existing WordPress Gutenberg Blocks

Add Custom Settings to Existing WordPress Gutenberg Blocks

There are three steps to add custom settings to existing blocks:

  1. We add a filter on existing block's registerBlockType 's settings array. ...
  2. Hook onto the block's edit component (the component responsible for rendering the block in the editor). ...
  3. Filter the block's save props.

Is there any way to clear cache when making REST API request?
How do I clear my API gateway cache? How do I clear my application cache? How do you clear an API? How do I automatically clear cache? Does postman ca...
How to install Bootstrap in a WordPress child theme
How do I add bootstrap to my WordPress theme? How do I add bootstrap 4 to my WordPress theme? How do I use Bootstrap CDN in WordPress? How do I conver...
How do I get a smaller size of an avatar image
How do I reduce the size of an image in Avatar? How do I reduce a JPG file size? How do I make a picture smaller? What size should an avatar be? How d...