• Hi! PO it’s great… I have a site with almost 25 plugins and it really helps…

    I would love to have the ability to disable plugins for some “HTTP POSTS”. For example, my woocommerce checkout takes too long! As you know it uses an “ajax post” and it would be great to be able to filter plugins for those requests.

    May be a GET/POST filter method?
    Is it possible? Does it has sense?

    THANKS!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    The way you can do this is to create a plugin filter. If you don’t have ignore url arguments turned on you can set a permalink for the different URLs woocommerce uses. It hits your root url with an argument named wc_ajax set to different values depending on what you are doing. You would have to go through and figure out what those different arguments are. If you have ignore URL arguments turned on you need to create a plugin filter with the permalink set to your root url. Woocommerce doesn’t use the standard ajax functionality of WordPress for some reason. So that makes it hard to filter it’s ajax functionality.

    Thread Starter mauriciowyler

    (@mauriciowyler)

    Jeff, thanks for the reply!! I’m trying and it looks promising…

    One last question, it would be nice to be able to filter by post params or/and by referer, is it possible?

    For example:
    URL: https://xxxxxxx.com/wp-admin/admin-ajax.php
    PARAM: action: heartbeat
    REFERER: referer: https://xxxxxxx.com/wp-admin/post.php?post=87006&action=edit

    Thanks again!!!

    Plugin Author Jeff Sterup

    (@foomagoo)

    The last 2 you inquired about are not possible at this time.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Filter un submit’ is closed to new replies.