The Settings UI allows developers to get an overview of all ACF and ACF Extended settings values from the ACF > Settings menu. The free version display all settings default & updated values, their description and code.
You can read more about ACF Settings on the documentation.
The pro version allows developers to directly enable, disable or edit settings within the UI without having to use code.
Absolute path to ACF plugin folder including trailing slash.
Defaults to plugin_dir_path
URL to ACF plugin folder including trailing slash. Defaults to plugin_dir_url
Runs the function stripslashes on all $_POST data. Some servers / WP instals may require this extra functionality. Defaults to false
Absolute path to folder where json files will be created when field groups are saved.
Defaults to ‘acf-json’ folder within current theme
Array of absolutes paths to folders where field group json files can be read.
Defaults to an array containing at index 0, the ‘acf-json’ folder within current theme
Language code of the default language. Defaults to ”.
If WPML is active, ACF will default this to the WPML default language setting
Language code of the current post’s language. Defaults to ”.
If WPML is active, ACF will default this to the WPML current language
Capability used for ACF post types and if the current user can see the ACF menu item.
Defaults to ‘manage_options’.
Enable/Disable updates to appear in plugin list and show/hide the ACF updates admin page.
Defaults to true.
Sets the text domain used when translating field and field group settings.
Defaults to ”. Strings will not be translated if this setting is empty
Allows ACF to translate field and field group settings using the __() function.
Defaults to true. Useful to override translation without modifying the textdomain
Sets the text domain used when translating field and field group settings.
Defaults to ”. Strings will not be translated if this setting is empty
Specify a Google Maps API Client ID to prevent usage limits.
Not needed if using google_api_key
. Defaults to ”
Defines which version of Select2 library to enqueue. Either 3 or 4.
Defaults to 4 since ACF 5.6.0
Defines the starting index used in all ‘loop’ and ‘row’ functions.
Defaults to 1 (1 is the first row), can be changed to 0 (0 is the first row)
Allows ACF to preload the initial render html of ACF Blocks into the block editor. Defaults to true
Detected Theme Path
Detected Theme URL
Json AutoSync load paths (array)
Json AutoSync saving path
PHP AutoSync load paths (array)
PHP AutoSync saving path
Block Types Json AutoSync load paths (array)
Block Types Json AutoSync saving path
Block Types PHP AutoSync load paths (array)
Block Types PHP AutoSync saving path
Options Pages Json AutoSync load paths (array)
Options Pages Json AutoSync saving path
Options Pages PHP AutoSync load paths (array)
Options Pages PHP AutoSync saving path
Post Types Json AutoSync load paths (array)
Post Types Json AutoSync saving path
Post Types PHP AutoSync load paths (array)
Post Types PHP AutoSync saving path
Taxonomies Json AutoSync load paths (array)
Taxonomies Json AutoSync saving path
Taxonomies PHP AutoSync load paths (array)
Taxonomies PHP AutoSync saving path
Templates Json AutoSync load paths (array)
Templates Json AutoSync saving path
Templates PHP AutoSync load paths (array)
Templates PHP AutoSync saving path
It is possible to export and import Settings in a Json file using the ACF > Tools menu. Settings can also be exported in PHP format, to manually register them in the functions.php
file. Those tools are also available directly within the Settings UI sidebar.
ACF Extended use the native ACF setting show_admin
to determine if the module menu should be displayed or not. You can read more about that setting on the ACF article How to hide ACF menu from clients. Usage example:
add_filter('acf/settings/show_admin', '__return_false');