Home Forums ACF PRO JSON from a ACF Options Page


JSON from a ACF Options Page

  • Can an ACF options/settings page generate JSON? I am creating an application that I want to detect if there are changes to the global settings… which would cause the view to reload. Using this to detect if there are JSON changes for posts.

    $.getJSON("<?php echo get_site_url(); ?>/wp-json/acf/v3/posts/<?php echo $postid ?>", function(json) {

  • Although I didn’t get a response… I did find a solution (if anyone is looking for this)
    $.getJSON("<?php echo get_site_url(); ?>/wp-json/acf/v3/options/options", function(json) {

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

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.