'tab', 'label' => 'ACF', )); ?> ", $load_json); $settings = array( array( 'name' => 'path', 'label' => 'Path', 'value' => '' . acf_get_setting('path') . '', 'description' => 'Absolute path to ACF plugin folder including trailing slash.
Defaults to plugin_dir_path' ), array( 'name' => 'dir', 'label' => 'Directory', 'value' => '' . acf_get_setting('dir') . '', 'description' => 'URL to ACF plugin folder including trailing slash. Defaults to plugin_dir_url' ), array( 'name' => 'show_admin', 'label' => 'Show menu', 'value' => '' . (acf_get_setting('show_admin') ? __('True'): __('False')) . '', 'description' => 'Show/hide ACF menu item. Defaults to true' ), array( 'name' => 'stripslashes', 'label' => 'Strip slashes', 'value' => '' . (acf_get_setting('stripslashes') ? __('True'): __('False')) . '', 'description' => 'Runs the function stripslashes on all $_POST data. Some servers / WP instals may require this extra functioanlity. Defaults to false' ), array( 'name' => 'local', 'label' => 'PHP/Json', 'value' => '' . (acf_get_setting('local') ? __('True'): __('False')) . '', 'description' => 'Enable/Disable local (PHP/json) fields. Defaults to true' ), array( 'name' => 'json', 'label' => 'Json', 'value' => '' . (acf_get_setting('json') ? __('True'): __('False')) . '', 'description' => 'Enable/Disable json fields. Defaults to true' ), array( 'name' => 'save_json', 'label' => 'Json folder (save)', 'value' => '' . acf_get_setting('save_json') . '', 'description' => 'Absolute path to folder where json files will be created when field groups are saved.
Defaults to ‘acf-json’ folder within current theme' ), array( 'name' => 'load_json', 'label' => 'Json folder (load)', 'value' => '' . $load_json_text . '', 'description' => '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' ), array( 'name' => 'default_language', 'label' => 'Default language', 'value' => '' . acf_get_setting('default_language') . '', 'description' => 'Language code of the default language. Defaults to ”.
If WPML is active, ACF will default this to the WPML default language setting' ), array( 'name' => 'current_language', 'label' => 'Current language', 'value' => '' . acf_get_setting('current_language') . '', 'description' => 'Language code of the current post’s language. Defaults to ”.
If WPML is active, ACF will default this to the WPML current language' ), array( 'name' => 'capability', 'label' => 'Capability', 'value' => '' . acf_get_setting('capability') . '', 'description' => 'Capability used for ACF post types and if the current user can see the ACF menu item.
Defaults to ‘manage_options’.' ), array( 'name' => 'show_updates', 'label' => 'Show updates', 'value' => '' . (acf_get_setting('show_updates') ? __('True'): __('False')) . '', 'description' => 'Enable/Disable updates to appear in plugin list and show/hide the ACF updates admin page.
Defaults to true.' ), array( 'name' => 'export_textdomain', 'label' => 'Export textdomain', 'value' => '' . (acf_get_setting('export_textdomain') ? __('True'): __('False')) . '', 'description' => 'Array of keys used during the ‘Export to PHP’ feature to wrap strings within the __() function.
Defaults to array(’title’, ’label’, ’instructions’). Depreciated in v5.3.4 – please see l10n_field and l10n_field_group' ), array( 'name' => 'export_translate', 'label' => 'Export translate', 'value' => '' . print_r(acf_get_setting('export_translate'), true) . '', 'description' => 'Used during the ‘Export to PHP’ feature to wrap strings within the __() function.
Depreciated in v5.4.4 – please see l10n_textdomain' ), array( 'name' => 'autoload', 'label' => 'Auto load', 'value' => '' . (acf_get_setting('autoload') ? __('True'): __('False')) . '', 'description' => 'Sets the text domain used when translating field and field group settings.
Defaults to ”. Strings will not be translated if this setting is empty' ), array( 'name' => 'l10n', 'label' => 'l10n', 'value' => '' . (acf_get_setting('l10n') ? __('True'): __('False')) . '', 'description' => 'Allows ACF to translate field and field group settings using the __() function.
Defaults to true. Useful to override translation without modifying the textdomain' ), array( 'name' => 'l10n_textdomain', 'label' => 'l10n Textdomain', 'value' => '' . (acf_get_setting('l10n') ? __('True'): __('False')) . '', 'description' => 'Sets the text domain used when translating field and field group settings.
Defaults to ”. Strings will not be translated if this setting is empty' ), array( 'name' => 'l10n_field', 'label' => 'l10n Field', 'value' => '' . print_r(acf_get_setting('l10n_field'), true) . '', 'description' => 'An array of settings to translate when loading and exporting a field.
Defaults to array(’label’, ’instructions’). Depreciated in v5.3.6 – please see acf/translate_field filter' ), array( 'name' => 'l10n_field_group', 'label' => 'l10n Field group', 'value' => '' . print_r(acf_get_setting('l10n_field_group'), true) . '', 'description' => 'An array of settings to translate when loading and exporting a field group.
Defaults to array(’title’). Depreciated in v5.3.6 – please see acf/translate_field_group filter' ), array( 'name' => 'google_api_key', 'label' => 'Google API Key', 'value' => '' . acf_get_setting('google_api_key') . '', 'description' => 'Specify a Google Maps API authentication key to prevent usage limits.
Defaults to ”' ), array( 'name' => 'google_api_client', 'label' => 'Google API Key', 'value' => '' . acf_get_setting('google_api_client') . '', 'description' => 'Specify a Google Maps API Client ID to prevent usage limits.
Not needed if using google_api_key. Defaults to ”' ), array( 'name' => 'enqueue_google_maps', 'label' => 'Enqueue Google Maps', 'value' => '' . (acf_get_setting('enqueue_google_maps') ? __('True'): __('False')) . '', 'description' => 'Allows ACF to enqueue and load the Google Maps API JS library.
Defaults to true' ), array( 'name' => 'enqueue_select2', 'label' => 'Enqueue Select2', 'value' => '' . (acf_get_setting('enqueue_select2') ? __('True'): __('False')) . '', 'description' => 'Allows ACF to enqueue and load the Select2 JS/CSS library.
Defaults to true' ), array( 'name' => 'select2_version', 'label' => 'Select2 version', 'value' => '' . acf_get_setting('select2_version') . '', 'description' => 'Defines which version of Select2 library to enqueue. Either 3 or 4.
Defaults to 4 since ACF 5.6.0' ), array( 'name' => 'enqueue_datepicker', 'label' => 'Enqueue Datepicker', 'value' => '' . (acf_get_setting('enqueue_datepicker') ? __('True'): __('False')) . '', 'description' => 'Allows ACF to enqueue and load the WP datepicker JS/CSS library.
Defaults to true' ), array( 'name' => 'enqueue_datetimepicker', 'label' => 'Enqueue Date/timepicker', 'value' => '' . (acf_get_setting('enqueue_datetimepicker') ? __('True'): __('False')) . '', 'description' => 'Allows ACF to enqueue and load the datetimepicker JS/CSS library.
Defaults to true' ), array( 'name' => 'row_index_offset', 'label' => 'Row index offset', 'value' => '' . acf_get_setting('row_index_offset') . '', 'description' => '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)' ), array( 'name' => 'remove_wp_meta_box', 'label' => 'Remove WP meta box', 'value' => '' . (acf_get_setting('remove_wp_meta_box') ? __('True'): __('False')) . '', 'description' => 'Allows ACF to remove the default WP custom fields metabox. Defaults to true' ), ); ?>

'tab', 'label' => 'ACF: Extended', )); ?> ", $load_php); $settings = array( array( 'name' => 'acfe/modules/author', 'label' => 'Module: Author', 'value' => '' . (acf_get_setting('acfe/modules/author', true) ? __('True'): __('False')) . '', 'description' => 'Show/hide the Author module. Defaults to true' ), array( 'name' => 'acfe/modules/dynamic_block_types', 'label' => 'Module: Dynamic Block Types', 'value' => '' . (acf_get_setting('acfe/modules/dynamic_block_types', true) ? __('True'): __('False')) . '', 'description' => 'Show/hide the Block Types module. Defaults to true' ), array( 'name' => 'acfe/modules/dynamic_forms', 'label' => 'Module: Dynamic Forms', 'value' => '' . (acf_get_setting('acfe/modules/dynamic_forms', true) ? __('True'): __('False')) . '', 'description' => 'Show/hide the Forms module. Defaults to true' ), array( 'name' => 'acfe/modules/dynamic_post_types', 'label' => 'Module: Dynamic Post Types', 'value' => '' . (acf_get_setting('acfe/modules/dynamic_post_types', true) ? __('True'): __('False')) . '', 'description' => 'Show/hide the Post Types module. Defaults to true' ), array( 'name' => 'acfe/modules/dynamic_taxonomies', 'label' => 'Module: Dynamic Taxonomies', 'value' => '' . (acf_get_setting('acfe/modules/dynamic_taxonomies', true) ? __('True'): __('False')) . '', 'description' => 'Show/hide the Taxonomies module. Defaults to true' ), array( 'name' => 'acfe/modules/dynamic_options_pages', 'label' => 'Module: Dynamic Options Pages', 'value' => '' . (acf_get_setting('acfe/modules/dynamic_options_pages', true) ? __('True'): __('False')) . '', 'description' => 'Show/hide the Options Pages module. Defaults to true' ), array( 'name' => 'acfe/modules/options', 'label' => 'Module: Options', 'value' => '' . (acf_get_setting('acfe/modules/options', true) ? __('True'): __('False')) . '', 'description' => 'Show/hide the Options module. Defaults to true' ), array( 'name' => 'acfe/modules/taxonomies', 'label' => 'Module: Author', 'value' => '' . (acf_get_setting('acfe/modules/taxonomies', true) ? __('True'): __('False')) . '', 'description' => 'Show/hide the Taxonomies enhancements module. Defaults to true' ), array( 'name' => 'acfe/field/recaptcha/site_key', 'label' => 'Field: reCaptcha site key', 'value' => '' . acf_get_setting('acfe/field/recaptcha/site_key') . '', 'description' => 'The default reCaptcha site key' ), array( 'name' => 'acfe/field/recaptcha/secret_key', 'label' => 'Field: reCaptcha secret key', 'value' => '' . acf_get_setting('acfe/field/recaptcha/secret_key') . '', 'description' => 'The default reCaptcha secret key' ), array( 'name' => 'acfe/field/recaptcha/version', 'label' => 'Field: reCaptcha version', 'value' => '' . acf_get_setting('acfe/field/recaptcha/version', 'v2') . '', 'description' => 'The default reCaptcha version' ), array( 'name' => 'acfe/field/recaptcha/v2/theme', 'label' => 'Field: reCaptcha v2 theme', 'value' => '' . acf_get_setting('acfe/field/recaptcha/v2/theme', 'light') . '', 'description' => 'The default reCaptcha v2 theme' ), array( 'name' => 'acfe/field/recaptcha/v2/size', 'label' => 'Field: reCaptcha v2 size', 'value' => '' . acf_get_setting('acfe/field/recaptcha/v2/size', 'normal') . '', 'description' => 'The default reCaptcha v2 size' ), array( 'name' => 'acfe/field/recaptcha/v3/hide_logo', 'label' => 'Field: reCaptcha v3 hide logo', 'value' => '' . acf_get_setting('acfe/field/recaptcha/v3/hide_logo') . '', 'description' => 'Show/hide reCaptcha v3 logo' ), array( 'name' => 'acfe/dev', 'label' => 'Dev mode', 'value' => '' . (acf_get_setting('acfe/dev') ? __('True'): __('False')) . '', 'description' => 'Show/hide the advanced WP post meta box. Defaults to false' ), array( 'name' => 'acfe/php', 'label' => 'PHP', 'value' => '' . (acf_get_setting('acfe/php') ? __('True'): __('False')) . '', 'description' => 'Allow PHP Sync' ), array( 'name' => 'acfe/php_found', 'label' => 'PHP: Found', 'value' => '' . (acf_get_setting('acfe/php_found') ? __('True'): __('False')) . '', 'description' => 'Found PHP Sync path' ), array( 'name' => 'acfe/php_save', 'label' => 'PHP: Save', 'value' => '' . acf_get_setting('acfe/php_save') . '', 'description' => 'PHP Sync Path found' ), array( 'name' => 'acfe/php_load', 'label' => 'PHP: Load', 'value' => '' . $load_php_text . '', 'description' => 'PHP Sync Load path' ), ); ?>