woocommerce_admin_downloads_report_downloads_per_page

woocommerce_admin_downloads_report_downloads_per_page

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_admin_downloads_report_downloads_per_page') is found 1 times:

  • /includes/admin/reports/class-wc-report-downloads.php line 237
     
    		$this->_column_headers = array( $this->get_columns(), array(), $this->get_sortable_columns() );
    		$current_page          = absint( $this->get_pagenum() );
    		// Allow filtering per_page value, but ensure it's at least 1.
    		$per_page = max( 1, apply_filters( 'woocommerce_admin_downloads_report_downloads_per_page', 20 ) );
    
    		$this->get_items( $current_page, $per_page );
    
    		/**
    		 * Pagination.
    		 */