A field for Advanced Custom Fields which allows users to select a list of created custom fields
The filed selector field allows the selection of other custom fields. This is useful in situations where you want to give the user powerful display options. You could, for example, allow the user to select which custom fields are displayed in a post.
This ACF field type is compatible with both ACF 4 and ACF 5.
Installing this plugin automatically is the easiest option. You can install the plugin automatically by going to the plugins section in WordPress and clicking Add New. Type “ACF Field Selector” in the search bar and install the plugin by clicking the Install Now button.
acf-field-selector-field
folder into your wp-content/plugins
folderFor developers I’ve included a filter which allows you to further filter selected fields. At the moment this filter is used to make sure that included and excluded types and groups are reflected in the selectable list.
add_filter( 'acffsf/item_filters', 'selectable_item_filter', 10, 2 )
The first parameter is the list of items to modify, the second is the setting field.