Skip to content
Browse files

Include a filter for determining the number of ad codes per list tabl…

…e page

See #29
  • Loading branch information...
1 parent 6e3900f commit 300025aa0985617dcbcefa90972fcc9764938181 @danielbachhuber danielbachhuber committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 common/lib/acm-wp-list-table.php
View
2 common/lib/acm-wp-list-table.php
@@ -51,7 +51,7 @@ function prepare_items() {
$totalitems = count( $this->items ); //return the total number of affected rows
//How many to display per page?
- $perpage = 25;
+ $perpage = apply_filters( 'acm_list_table_per_page', 25 );
//Which page is this?
$paged = !empty( $_GET["paged"] ) ? intval( $_GET["paged"] ) : '';

0 comments on commit 300025a

Please sign in to comment.
Something went wrong with that request. Please try again.