This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Json only response

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12240
    ManuManu
    Participant

    Hello,

    I would like to use the plugin in a mobile native app.

    > Do you think it can be achieve ?
    > Is it possible to have a response from the plugin in json only ?

    Thank you !

    #12243
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    I’m not too experienced with native mobile app development, but I don’t think it’s possible to embed a WordPress outputted code to an app. It’s also impossible to have JSON response only, as the templating is generated on the server side, and it would have to be completely re-coded.

    #12244
    ManuManu
    Participant

    Hi Enerst,

    Thank you for your answer !

    I think it can be achieve but without json output only it will be hard !

    If one day you think to add a template who output only json, or better a custom endpoints compatible with the rest API (https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/) it will be great 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Ajax Search Pro for WordPress’ is closed to new topics and replies.