Filter the layout of the Top Posts Widget
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
- Introduced in Jetpack 6.4.0
jetpack_top_posts_widget_layoutFilter the layout of the Top Posts Widget
stringlayout of the Top Posts Widget (empty string).
arrayIDs of the posts to be displayed.
arrayDisplay option from widget form.