Skip to content

Commit

Permalink
Merge pull request #47 from damonsharp/filter-term-query-args
Browse files Browse the repository at this point in the history
add filter to zone get terms query args
  • Loading branch information
mjangda committed May 18, 2016
2 parents c411d95 + 54cfbb3 commit 35e041e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zoninator.php
Expand Up @@ -259,7 +259,7 @@ function admin_page() {
$view = sprintf( '%s/views/%s', ZONINATOR_PATH, $view );
$title = __( 'Zones', 'zoninator' );

$zones = $this->get_zones();
$zones = $this->get_zones( apply_filters( 'zoninator_admin_page_get_zones_args', array() ) );

$default_active_zone = 0;
if( ! $this->_current_user_can_add_zones() ) {
Expand Down

0 comments on commit 35e041e

Please sign in to comment.