Plugin Tabs noticias
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
function areoi_render_block_toast_header( $attributes, $content )
|
||||
{
|
||||
$class = trim(
|
||||
areoi_get_class_name_str( array(
|
||||
'toast-header',
|
||||
( !empty( $attributes['className'] ) ? $attributes['className'] : '' ),
|
||||
) )
|
||||
);
|
||||
|
||||
$output = '
|
||||
<div ' . areoi_return_id( $attributes ) . ' class="' . areoi_format_block_id( $attributes['block_id'] ) . ' ' . $class . '">
|
||||
<div class="toast-header-content me-auto">' . $content . '</div>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
|
||||
</div>
|
||||
';
|
||||
|
||||
return $output;
|
||||
}
|
||||
Reference in New Issue
Block a user