• Resolved Borja Abad

    (@soportecibeles)


    For security reasons I have to disable WP JSON API WP. I see that your plugin has stopped counting visits. Any solution?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Nguyen Tuan

    (@nguyencongtuan)

    Hi Borja

    If you disable WP JSON, you should turn AJAX Load off from our plugin settings so that plugin is calling to custom REST API with AJAX Load is enabled.

    Thread Starter Borja Abad

    (@soportecibeles)

    But if I disable Ajax loading, my site cache does not increase the number of visits. Don’t have an alternative to the REST API with a custom Ajax?

    Plugin Contributor Nguyen Tuan

    (@nguyencongtuan)

    Hi Borja

    We just release new version 2.8.0 has support for admin- Ajax

    Thread Starter Borja Abad

    (@soportecibeles)

    Dear team, thanks for your response, but I think only is working for loggued in users.

    Try this:

    I think you have to change your code from
    wp_ajax_my_action’, ‘pvc_increase’ );
    to
    wp_ajax_nopriv_my_action’, ‘pvc_increase’ );

    THANKS!!

    Plugin Contributor Nguyen Tuan

    (@nguyencongtuan)

    Hi Borja

    Thanks for report that issue, we missed that, just release new version for fix that issue

    Thread Starter Borja Abad

    (@soportecibeles)

    Now updated and working fine! Thanks for your support.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP JSON API’ is closed to new replies.