Skip to content

Commit

Permalink
ENHANCEMENT: Filter lets user change level order
Browse files Browse the repository at this point in the history
Allow a user to reorder the levels without having to use the Membership Levels page drag & drop sort ordering.
  • Loading branch information
eighty20results authored Sep 25, 2017
1 parent ee0b9ef commit 56fb0eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adminpages/reports/memberships.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ function pmpro_report_memberships_widget() {

$pmpro_levels = $reordered_levels;
}

$pmpro_levels = apply_filters( 'pmpro_report_levels', $pmpro_levels );
?>
<span id="pmpro_report_memberships">
<table class="wp-list-table widefat fixed striped">
Expand Down

0 comments on commit 56fb0eb

Please sign in to comment.