Recent

Popular_Authors_BlocksclassPro only

Registers Popular Authors blocks.

Namespace: WebberZone\Top_Ten\Pro\Blocks
Since: 4.4.0
Source: includes/pro/blocks/class-popular-authors-blocks.php line 20

Methods

__construct()

Register hooks.

Line: 25

public function __construct(  );

register_blocks()

Register the blocks and their server-side render callbacks.

Line: 32

public function register_blocks(  );

render_authors() static

Render the Popular Authors block.

Line: 55

static public function render_authors( $attributes ): string;
Type Name Description
array $attributes Block attributes.

Returns: string

render_author_posts() static

Render the Popular Posts by Author block.

Line: 88

static public function render_author_posts( $attributes ): string;
Type Name Description
array $attributes Block attributes.

Returns: string