Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added 'wpgeo_map_query_args' filter.

  • Loading branch information...
commit bd9bffaa6d492b7efe838145008011eaa654d04b 1 parent 6e27cf1
Ben Huson authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  includes/templates.php
1  includes/templates.php
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.