Popular_Posts_Element
Registers the tptn_popular_posts WPBakery element.
Namespace: WebberZone\Top_Ten\Pro\Builders\WPBakery
Since: 4.5.0
Source: includes/pro/builders/wpbakery/class-popular-posts-element.php line 22
Methods
__construct()
Constructor.
Line: 41
public function __construct( );
enqueue_icon_css() static
Register the element icon as inline CSS.
Since: 4.5.0
Line: 72
static public function enqueue_icon_css( ): void;
Returns: void
render() static
Render callback for the element.
Since: 4.5.0
Line: 379
static public function render( $atts, $content = ... ): string;
| Type | Name | Description |
|---|---|---|
array |
$atts |
Shortcode attributes. |
string|null |
$content |
Shortcode content. |
Returns: string