apply_filters ( 'jetpack_top_posts_widget_layout', string $layout, array $posts, array $display )

Filter the layout of the Top Posts Widget

Source file: modules/widgets/top-posts.php

View in GitHub

Parameters

$layout

(string) layout of the Top Posts Widget (empty string)

$posts

(array) IDs of the posts to be displayed

$display

(array) Display option from widget form


Changelog

Since: Jetpack 6.4.0


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s