Forum: Global Maps

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Global Maps premium extension please open a new premium support ticket.

[Resolved]Hook for custom query

Forums Global Maps Hook for custom query

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #52436


    I’m using global maps on an event post type, but at the moment it shows all events (including ones that have already happened). Is there a hook I can use to pass in a meta query to the global map?



    Hi James,
    You can probably use the below filter to modify the WP_Query args:

    This filter together with a few others can be found in omw-global-maps/posts/includes/gmaps-query-functions.php.

    I hope that helps.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Hook for custom query’ is closed to new replies.