Navigation Menu

Skip to content

Commit

Permalink
Add a filter to the array of sorter's data
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilles Vauvarin committed May 7, 2012
1 parent 9d6902c commit bdf6f6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions options-interface.php
Expand Up @@ -195,6 +195,7 @@ function optionsframework_fields() {
case 'sorter':
$sortlists = array();
$sortlists = $val;
$sortlists = apply_filters( 'of_array_sorter', $sortlists );
$output .= '<div id="'.$value['id'].'" class="sorter">';
if ($sortlists) {
foreach ($sortlists as $group=>$sortlist) {
Expand Down

0 comments on commit bdf6f6c

Please sign in to comment.