GEO my WP Support

Use this forum for technical support and general questions related to GEO my WP plugin and its core add-ons only. For technical support and general questions related to any of the premium extensions please open a new premium support ticket.

[Resolved]2 filters are not working, please add new filter in JS file

Forums Support 2 filters are not working, please add new filter in JS file

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #57169
    imran789
    Member

    Hi,

    New version is good, i really likes hooks in JS file, that’s really helpful. i’m facing one issue on filters let me show you.

    these 2 filters not working to disable cache on development time.

    Can you please add filter on gmw.map.js under the line 912

    GMW.apply_filters('gmw_make_own_marker_clicks', self, i);

    Can you please add filter on gmw.map.js under the line 1094

    Attachments:
    You must be logged in to view attached files.
    #57176

    Hi,

    Thank you for pointing out the issue with the cache filters. Indeed, they execute to early to be filtered.

    Regarding the filter for the marker click, what exactly do you need to do?

    There is already a filter on line 713 that triggers on each marker being generated:

    Can you use that?

    #57178
    imran789
    Member

    That’s good for change the options for marker, but i want to add new click or hover something on marker. screenshot attached for better understand

    Attachments:
    You must be logged in to view attached files.
    #57184
    imran789
    Member

    Hi Eyal Fitoussi, When you lunch new version after solving cache issue???

    #57207

    Hi,
    I have just uploaded a new version 3.0.2.

    You can enable/disable the cache with the filter ‘gmw_internal_cache_enabled’.

    I also added 2 filters to the JS files that you can use for your custom functions.

    Let me know if this helps.

    #57208
    imran789
    Member

    Thanks that’s really helpful and works awesome 🙂

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

You must be logged in to reply to this topic.