jetpack_top_posts_widget_count, $count

jetpack_top_posts_widget_count, $count

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_top_posts_widget_count, $count') is found 1 times:

  • /modules/widgets/top-posts.php line 326
    		 * @since 3.3.0
    		 *
    		 * @param string $count Number of Posts displayed in the Top Posts widget. Default is 10.
    		 */
    		$count = apply_filters( 'jetpack_top_posts_widget_count', $count );
    
    		$types = isset( $instance['types'] ) ? (array) $instance['types'] : array( 'post', 'page' );
    
    		// 'likes' are not available in Jetpack
    		$ordering = isset( $instance['ordering'] ) && 'likes' === $instance['ordering']
    			? 'likes'