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.8.1

apply_filters('woocommerce_admin_downloads_report_downloads_per_page') is found 1 times:

  • /includes/admin/reports/class-wc-report-downloads.php line 237
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    $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.
     */