# counters-block/2.0.5/build/render.php

Counters Block – showcase your stats with animated numbers, version 2.0.5. 16 lines.

- Page: https://pluginprobe.com/plugins/counters-block/2.0.5/code/build/render.php
- Raw: https://pluginprobe.com/plugins/counters-block/2.0.5/raw/build/render.php
- Modified: 2026-02-23T03:53:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/counters-block/2.0.5/code/build/render.php#L10-L20`.

```php
<?php
$id = wp_unique_id( 'ctrbCounters-' );

extract( $attributes );

// if( isset( $icon['class'] ) && !empty( $icon['class'] ) ){
// 	wp_enqueue_style( 'font-awesome-7' );
// }
	// wp_enqueue_style( 'font-awesome-7' );
?>
<div
    <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- get_block_wrapper_attributes() is properly escaped ?>
	<?php echo get_block_wrapper_attributes(); ?>
    id='<?php echo esc_attr( $id ); ?>'
    data-attributes='<?php echo esc_attr( wp_json_encode( $attributes ) ); ?>'
></div>
```
