WordPress.org

Forums

Why filters & shortcodes are not working at all in Ajax? (2 posts)

  1. biswajeet
    Member
    Posted 3 years ago #

    Its been confusing and couldn't get why filters and shortcodes are not getting applied when post/page content is retrieved via wp ajax?

    Interestingly, everything works correctly if the ajax request is pointed to a custom file with the inclusion of wp-load in it, the old way...

    Are the filters and shortcodes execution is bypass in wp ajax environment (admin-ajax.php)?

    I haven't seen much talk on this topic...

    thanks.

  2. Mobster
    Member
    Posted 2 years ago #

    I am currently running into an issue using short codes inside an ajax request. Anyone else run into this?

Topic Closed

This topic has been closed to new replies.

About this Topic