Last active
March 15, 2023 04:56
-
-
Save bacoords/7be0c46d0da7ef13a7d36ebde51e7451 to your computer and use it in GitHub Desktop.
PHP header for a dynamic gutenberg blocks render.php file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* All of the parameters passed to the function where this file is being required are accessible in this scope: | |
* | |
* @param array $attributes The array of attributes for this block. | |
* @param string $content Rendered block output. ie. <InnerBlocks.Content />. | |
* @param WP_Block $block The instance of the WP_Block class that represents the block being rendered. | |
* | |
* @package gutenberg-examples | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment