| 1 |
<?php |
| 2 |
/** |
| 3 |
* Server-side rendering of the following block. |
| 4 |
* |
| 5 |
* @package Activitypub |
| 6 |
*/ |
| 7 |
|
| 8 |
use Activitypub\Blocks; |
| 9 |
|
| 10 |
/* @var array $attributes Block attributes. */ |
| 11 |
$attributes = $attributes ?? array(); |
| 12 |
|
| 13 |
/* @var WP_Block $block Current block. */ |
| 14 |
$block = $block ?? null; |
| 15 |
|
| 16 |
/* @var string $content Block content. */ |
| 17 |
$content = $content ?? ''; |
| 18 |
|
| 19 |
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output is escaped in render method. |
| 20 |
echo Blocks::render_actor_list_block( 'following', $attributes, $block, $content ); |
| 21 |
|