# top-10/4.5.2/includes/frontend/blocks/src/popular-posts/render.php

WebberZone Top 10 — Popular Posts, version 4.5.2. 14 lines.

- Page: https://pluginprobe.com/plugins/top-10/4.5.2/code/includes/frontend/blocks/src/popular-posts/render.php
- Raw: https://pluginprobe.com/plugins/top-10/4.5.2/raw/includes/frontend/blocks/src/popular-posts/render.php
- Modified: 2026-10-08T02:44:28+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/top-10/4.5.2/code/includes/frontend/blocks/src/popular-posts/render.php#L10-L20`.

```php
<?php
/**
 * Server-side renderer for the Popular Posts block.
 *
 * @package WebberZone\Top_Ten
 */

if ( ! isset( $attributes ) || ! is_array( $attributes ) ) {
	$attributes = array();
}

// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- The block renderer returns escaped markup.
echo \WebberZone\Top_Ten\Frontend\Blocks\Blocks::render_block_popular_posts( $attributes );

```
