Files
Pruebas/Wordpress/wordpress/wp-content/plugins/all-bootstrap-blocks/blocks/card-group.php
2026-04-14 13:50:04 -06:00

20 lines
511 B
PHP

<?php
function areoi_render_block_card_group( $attributes, $content )
{
$class = trim(
areoi_get_class_name_str( array(
'card-group',
( !empty( $attributes['className'] ) ? $attributes['className'] : '' ),
) )
. ' ' .
areoi_get_display_class_str( $attributes, 'flex' )
);
$output = '
<div ' . areoi_return_id( $attributes ) . ' class="' . areoi_format_block_id( $attributes['block_id'] ) . ' ' . $class . '">
' . $content . '
</div>
';
return $output;
}