Local Json Global Functions

acf_get_local_json_files()

Returns an array of found JSON field group files.

  • @date 14/4/20
  • @since ACF 5.9.0
  • @param string $post_type The ACF post type to get files for.
  • @return array

acf_write_json_field_group()

Saves a field group JSON file.

  • @date 5/12/2014
  • @since ACF 5.1.5
  • @param array $field_group The field group.
  • @return boolean

acf_delete_json_field_group()

Deletes a field group JSON file.

  • @date 5/12/2014
  • @since ACF 5.1.5
  • @param string $key The field group key.
  • @return boolean True on success.