Files
CWC/views/blocks/buttons/buttons.php
T
Keith Solomon af7d0eae27
Deploy to Dreamhost (dev) / build (push) Successful in 31s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
🐞 fix: Fix button class escaping issue
2026-06-20 21:33:52 -05:00

21 lines
482 B
PHP

<?php
/**
* Block Name: Buttons
*
* This is the template that renders the Buttons block.
*
* @package CWC
*/
namespace CWC;
$ibClasses = 'flex flex-wrap gap-4 w-full justify-center sm:justify-start';
$classes = 'align-with-content my-[1.2em]';
$wrapper = blockWrapperAttributes( $classes, $is_preview );
?>
<div id="<?php echo esc_attr( $block['id'] ); ?>" <?php echo wp_kses_post( $wrapper ); ?>>
<InnerBlocks className="<?php echo esc_attr( $ibClasses ); ?>" />
</div>