get acf field in javascript code example Example: get field acf $content = get_field('content', $post_id);