24 lines
501 B
PHP
24 lines
501 B
PHP
<?php
|
|
/**
|
|
* Block Name: {{BLOCK_NAME}}
|
|
*
|
|
* Add a description of your block. Shows up in the block inserter.
|
|
*
|
|
* @package BasicWP
|
|
*/
|
|
|
|
namespace BasicWP;
|
|
|
|
$classes = '{{BLOCK_SLUG}}';
|
|
|
|
/**
|
|
* NOTE: DO NOT remove this function call - it is required to avoid editor issues.
|
|
* $is_preview is a WordPress global when in the editor.
|
|
*/
|
|
$wrapper = blockWrapperAttributes( $classes, $is_preview );
|
|
?>
|
|
|
|
<section <?php echo wp_kses_post( $wrapper ); ?>>
|
|
<!-- Your block code will go here -->
|
|
</section>
|