diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b672a8..156538b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.23.0] - 2019-11-19 + +### Added +- Support for Select field's return format that was introduced in ACF version 5.4.0. + +### Fixed +- A bug in Flexible Content's export function. + ## [1.22.0] - 2019-11-08 ### Added diff --git a/docs/classes.md b/docs/classes.md index 4947ce0..112321f 100644 --- a/docs/classes.md +++ b/docs/classes.md @@ -980,11 +980,13 @@ | public | get_choices() : array
Get all choices. | | public | get_disabled() : boolean
Get whether field is disabled or not | | public | get_placeholder() : string
Get field placeholder text | +| public | get_return_format() : string
Get return format | | public | no_ajax() : [\Geniem\ACF\Field](#class-geniemacffield-abstract)\self
Disable loading values via ajax | | public | no_ui() : [\Geniem\ACF\Field](#class-geniemacffield-abstract)\self
Disable custom ui | | public | remove_choice(mixed $choice) : [\Geniem\ACF\Field](#class-geniemacffield-abstract)\self
Remove a choice. | | public | set_choices(mixed $choices) : [\Geniem\ACF\Field](#class-geniemacffield-abstract)\self
Set choices for the checkbox | | public | set_placeholder(\string $placeholder) : [\Geniem\ACF\Field](#class-geniemacffield-abstract)\self
Set field placeholder | +| public | set_return_format(\string $return_format=`'value'`) : [\Geniem\ACF\Field](#class-geniemacffield-abstract)\self
Set return format | | public | ui() : integer
Get custom ui state | | public | use_ajax() : [\Geniem\ACF\Field](#class-geniemacffield-abstract)\self
Enable loading values via ajax | | public | use_ui() : [\Geniem\ACF\Field](#class-geniemacffield-abstract)\self
Enable custom ui | diff --git a/plugin.php b/plugin.php index 2aa96e7..2e095d6 100644 --- a/plugin.php +++ b/plugin.php @@ -3,7 +3,7 @@ Plugin Name: ACF Codifier Plugin URI: https://github.com/devgeniem/acf-codifier Description: A helper class to make defining ACF field groups and fields easier in the code. -Version: 1.22.0 +Version: 1.23.0 Author: Miika Arponen / Geniem Oy Author URI: https://geniem.fi License: GPL-3.0