Recent

wzpa_custom_templatefilter

wzpa_custom_template

Filter to create a custom HTML output for a set of Popular Authors.

Type: filter
Since: 1.2.0
Source: includes/frontend/class-display.php line 105

Parameters

Type Name Description
mixed $custom_template Custom template. Default value null.
object $authors Array of popular author IDs.
array $args Array of settings.
array $post_counts Array of post counts for each author.

Usage

add_filter( 'wzpa_custom_template', function($custom_template, $authors, $args, $post_counts) {
    // ...
    return $custom_template;
} );