📄 docs: Add comment about not removing class function call in block boilerplate
This commit is contained in:
1 parent
38ec5f850d
commit
f086c17d26
1 file changed
+5
@@ -10,6 +10,11 @@
|
||||
namespace BasicWP;
|
||||
|
||||
$classes = 'boilerplate';
|
||||
|
||||
/**
|
||||
* 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 );
|
||||
?>
|
||||
|
||||
|
||||
Reference in new issue
Block a user