Shortcodes
Admin Columns Class.
Namespace: WebberZone\Popular_Authors\Frontend
Since: 1.2.0
Source: includes/frontend/class-shortcodes.php line 21
Methods
__construct()
Constructor class.
Since: 1.2.0
Line: 28
public function __construct( );
wzpa_popular_authors() static
Creates a shortcode [wzpa_popular_authors number=“5” daily=“0”].
Since: 1.2.0
Line: 46
static public function wzpa_popular_authors( $atts ): string;
| Type | Name | Description |
|---|---|---|
array | $atts | Shortcode attributes. See wzpa_list_popular_authors_args() for list of additional attributes. |
Returns: string — Formatted list of top authors.
wzpa_author_top_posts() static
Creates a shortcode for displaying top posts by author.
Since: 1.3.0
Line: 80
static public function wzpa_author_top_posts( $atts ): string;
| Type | Name | Description |
|---|---|---|
array | $atts | { |
Returns: string — Formatted list of top posts.