Support

Account

Home Forums ACF PRO JSON from a ACF Options Page

Helping

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)

The topic ‘JSON from a ACF Options Page’ is closed to new replies.