Files
laipower/wp-content/plugins/activitypub/build/followers/render.php

21 lines
528 B
PHP

<?php
/**
* Server-side rendering of the followers block.
*
* @package Activitypub
*/
use Activitypub\Blocks;
/* @var array $attributes Block attributes. */
$attributes = $attributes ?? array();
/* @var WP_Block $block Current block. */
$block = $block ?? null;
/* @var string $content Block content. */
$content = $content ?? '';
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output is escaped in render method.
echo Blocks::render_actor_list_block( 'followers', $attributes, $block, $content );