• Thank you for the terrific plugin and all your time an energy in making it awesome!

    I’m wondering, does WordPress load plugins during ajax requests? If so, how does Plugin Organizer handle this?

    If we’re trying to make ajax requests quicker, would the best strategy be to disable all plugins globally and than selectively enable only needed ones on certain pages or how else would ajax requests be targeted?

    I suppose if plugins don’t load during ajax requests, most of this is moot.

    Thank you! 😀

    https://ww.wp.xz.cn/plugins/plugin-organizer/

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

    (@foomagoo)

    Ajax requests are set up within the plug in. They usually go to wp-admin/wp-ajax.php. A plug in can set up a different address though. You would disable the plug in globally and then create a plug in filter for the Ajax url with that plug in enabled.

    Hello Jeff

    Unfortunately a filter in this case is not so much helpful since you need to disable certain plugin on certain request, so something like:

    https://azerothshard.org/wp-admin/admin-ajax.php?action=myaction*

    a wildcard should be used since an ajax call often have a dynamic value

    but Plugin Organizer doesn’t support wildcard on query string.

    Would be possible to implement it? or is there a workaround?

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

The topic ‘WordPress and Ajax requests?’ is closed to new replies.