jetpack_top_posts_days, 2, $args

jetpack_top_posts_days, 2, $args

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_top_posts_days, 2, $args') is found 1 times:

  • /modules/widgets/top-posts.php line 709
    		 *
    		 * @param int 2 Number of days. Default is 2.
    		 * @param array $args The widget arguments.
    		 */
    		$days = (int) apply_filters( 'jetpack_top_posts_days', 2, $args );
    
    		/** Handling situations where the number of days makes no sense - allows for unlimited days where $days = -1 */
    		if ( 0 === $days ) {
    			$days = 2;
    		}