jetpack_widget_top_posts_before_post, $post[post_id]
jetpack_widget_top_posts_before_post, $post[post_id]
Appears in: jetpack.16.0.1
Hook Type: action
Displaying hooks found in version: jetpack.16.0.1do_action('jetpack_widget_top_posts_before_post, $post[post_id]') is found 3 times:
- /modules/widgets/top-posts.php line 482
* @since 3.2.0 * * @param string $post['post_id'] Post ID. */ do_action( 'jetpack_widget_top_posts_before_post', $post['post_id'] ); /** * Filter the permalink of items in the Top Posts widget. * * @module widgets *
- /modules/widgets/top-posts.php line 529
foreach ( $posts as $post ) { echo '<li>'; /** This action is documented in modules/widgets/top-posts.php */ do_action( 'jetpack_widget_top_posts_before_post', $post['post_id'] ); /** This filter is documented in modules/widgets/top-posts.php */ $filtered_permalink = apply_filters( 'jetpack_top_posts_widget_permalink', $post['permalink'], $post ); if ( $post['image'] ) { printf( - /modules/widgets/top-posts.php line 573
foreach ( $posts as $post ) { echo '<li>'; /** This action is documented in modules/widgets/top-posts.php */ do_action( 'jetpack_widget_top_posts_before_post', $post['post_id'] ); /** This filter is documented in modules/widgets/top-posts.php */ $filtered_permalink = apply_filters( 'jetpack_top_posts_widget_permalink', $post['permalink'], $post ); printf( '<a href="%1$s" class="bump-view" data-bump-view="tp"%2$s>%3$s</a>',