📄 docs: Add comment about not removing class function call in block boilerplate

This commit is contained in:
Keith Solomon
2025-11-25 08:03:37 -06:00
parent 38ec5f850d
commit f086c17d26

View File

@@ -10,6 +10,11 @@
namespace BasicWP; namespace BasicWP;
$classes = 'boilerplate'; $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 ); $wrapper = blockWrapperAttributes( $classes, $is_preview );
?> ?>