'battlecat/block/post_type_multi/col/class'
Filter the classes for the post_type_multi block. This lets you change the classes in the "col" element.
\add_filter( 'battlecat/block/post_type_multi/col/class', function( array $initial_classes ) : array {
// Remove classes.
$modified_classes = array_diff( $initial_classes, array( 'd-flex' ) );
// Add new classes.
$modified_classes = array_merge( $modified_classes, array( 'd-block' ) );
return $modified_classes;
}, 10, 1 );
'battlecat/block/post_type_multi/row/class'
Filter the classes for the post_type_multi block. This lets you change the classes in the "row" element.
\add_filter( 'battlecat/block/post_type_multi/row/class', function( array $initial_classes ) : array {
// Remove classes.
$modified_classes = array_diff( $initial_classes, array( 'mb-5' ) );
// Add new classes.
$modified_classes = array_merge( $modified_classes, array( 'mb-1 pt-5' ) );
return $modified_classes;
}, 10, 1 );