$size, 'height' => $size ] ); $href = rooster_esc_url_or_empty( (string) ( $attributes['href'] ?? '' ) ); $wrapper = get_block_wrapper_attributes( [ 'class' => 'rooster-trust-tile' . ( $plain ? ' rooster-trust-tile--plain' : '' ) ] ); $inner = ''; if ( $icon ) { $inner .= '' . $icon . ''; } $inner .= ''; if ( '' !== $title ) { $inner .= '' . esc_html( $title ) . ''; } if ( '' !== $subtitle ) { $inner .= '' . esc_html( $subtitle ) . ''; } $inner .= ''; if ( $href ) { AIEO_Engine_Blocks::out( sprintf( '%s', $wrapper, $href, $inner ) ); return; } AIEO_Engine_Blocks::out( sprintf( '
%s
', $wrapper, $inner ) );