Browse files

Added 'wpgeo_map_query_args' filter.

  • Loading branch information...
1 parent 6e27cf1 commit bd9bffaa6d492b7efe838145008011eaa654d04b @benhuson committed May 15, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 includes/templates.php
View
1 includes/templates.php
@@ -322,6 +322,7 @@ function get_wpgeo_map( $query, $options = null ) {
$r['posts_per_page'] = $r['numberposts'];
}
+ $r = apply_filters( 'wpgeo_map_query_args', $r );
$posts = get_posts( $r );
// Map

0 comments on commit bd9bffa

Please sign in to comment.