in web/wp-content/plugins/acf-extended/includes/admin/settings.php [56:495]
function register_fields(){
$this->fields = array(
// ACF
'acf' => array(
array(
'label' => 'Path',
'name' => 'path',
'type' => 'text',
'description' => 'Absolute path to ACF plugin folder including trailing slash.<br />Defaults to plugin_dir_path',
'category' => 'acf',
),
array(
'label' => 'URL',
'name' => 'url',
'type' => 'text',
'description' => 'URL to ACF plugin folder including trailing slash. Defaults to plugin_dir_url',
'category' => 'acf',
),
array(
'label' => 'Show admin',
'name' => 'show_admin',
'type' => 'true_false',
'description' => 'Show/hide ACF menu item. Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Strip slashes',
'name' => 'stripslashes',
'type' => 'true_false',
'description' => 'Runs the function stripslashes on all $_POST data. Some servers / WP instals may require this extra functionality. Defaults to false',
'category' => 'acf',
),
array(
'label' => 'Local',
'name' => 'local',
'type' => 'true_false',
'description' => 'Enable/Disable local (PHP/json) fields. Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Json',
'name' => 'json',
'type' => 'true_false',
'description' => 'Enable/Disable json fields. Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Json folder (save)',
'name' => 'save_json',
'type' => 'text',
'description' => 'Absolute path to folder where json files will be created when field groups are saved.<br />Defaults to ‘acf-json’ folder within current theme',
'category' => 'acf',
),
array(
'label' => 'Json folder (load)',
'name' => 'load_json',
'type' => 'text',
'description' => 'Array of absolutes paths to folders where field group json files can be read.<br />Defaults to an array containing at index 0, the ‘acf-json’ folder within current theme',
'category' => 'acf',
'format' => 'array',
),
array(
'label' => 'Default language',
'name' => 'default_language',
'type' => 'true_false',
'description' => 'Language code of the default language. Defaults to ”.<br />If WPML is active, ACF will default this to the WPML default language setting',
'category' => 'acf',
),
array(
'label' => 'Current language',
'name' => 'current_language',
'type' => 'true_false',
'description' => 'Language code of the current post’s language. Defaults to ”.<br />If WPML is active, ACF will default this to the WPML current language',
'category' => 'acf',
),
array(
'label' => 'Capability',
'name' => 'capability',
'type' => 'text',
'description' => 'Capability used for ACF post types and if the current user can see the ACF menu item.<br />Defaults to ‘manage_options’.',
'category' => 'acf',
),
array(
'label' => 'Show updates',
'name' => 'show_updates',
'type' => 'true_false',
'description' => 'Enable/Disable updates to appear in plugin list and show/hide the ACF updates admin page.<br />Defaults to true.',
'category' => 'acf',
),
array(
'label' => 'Auto load',
'name' => 'autoload',
'type' => 'true_false',
'description' => 'Sets the text domain used when translating field and field group settings.<br />Defaults to ”. Strings will not be translated if this setting is empty',
'category' => 'acf',
),
array(
'label' => 'l10n',
'name' => 'l10n',
'type' => 'true_false',
'description' => 'Allows ACF to translate field and field group settings using the __() function.<br />Defaults to true. Useful to override translation without modifying the textdomain',
'category' => 'acf',
),
array(
'label' => 'l10n textdomain',
'name' => 'l10n_textdomain',
'type' => 'text',
'description' => 'Sets the text domain used when translating field and field group settings.<br />Defaults to ”. Strings will not be translated if this setting is empty',
'category' => 'acf',
),
array(
'label' => 'Google API key',
'name' => 'google_api_key',
'type' => 'text',
'description' => 'Specify a Google Maps API authentication key to prevent usage limits.<br />Defaults to ”',
'category' => 'acf',
),
array(
'label' => 'Google API client',
'name' => 'google_api_client',
'type' => 'text',
'description' => 'Specify a Google Maps API Client ID to prevent usage limits.<br />Not needed if using <code>google_api_key</code>. Defaults to ”',
'category' => 'acf',
),
array(
'label' => 'Enqueue Google Maps',
'name' => 'enqueue_google_maps',
'type' => 'true_false',
'description' => 'Allows ACF to enqueue and load the Google Maps API JS library.<br />Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Enqueue Select2',
'name' => 'enqueue_select2',
'type' => 'true_false',
'description' => 'Allows ACF to enqueue and load the Select2 JS/CSS library.<br />Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Select2 version',
'name' => 'select2_version',
'type' => 'text',
'description' => 'Defines which version of Select2 library to enqueue. Either 3 or 4.<br />Defaults to 4 since ACF 5.6.0',
'category' => 'acf',
),
array(
'label' => 'Enqueue Date picker',
'name' => 'enqueue_datepicker',
'type' => 'true_false',
'description' => 'Allows ACF to enqueue and load the WP datepicker JS/CSS library.<br />Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Enqueue Date Time picker',
'name' => 'enqueue_datetimepicker',
'type' => 'true_false',
'description' => 'Allows ACF to enqueue and load the datetimepicker JS/CSS library.<br />Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Row index offset',
'name' => 'row_index_offset',
'type' => 'text',
'description' => 'Defines the starting index used in all ‘loop’ and ‘row’ functions.<br />Defaults to 1 (1 is the first row), can be changed to 0 (0 is the first row)',
'category' => 'acf',
),
array(
'label' => 'Remove WP meta box',
'name' => 'remove_wp_meta_box',
'type' => 'true_false',
'description' => 'Allows ACF to remove the default WP custom fields metabox. Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Rest API enabled',
'name' => 'rest_api_enabled',
'type' => 'true_false',
'description' => 'Enables/disables the ACF REST API integration.. Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Rest API format',
'name' => 'rest_api_format',
'type' => 'text',
'description' => 'Defines how ACF formats field values in the REST API. Defaults to light',
'category' => 'acf',
),
array(
'label' => 'Rest API Embed Links',
'name' => 'rest_api_embed_links',
'type' => 'true_false',
'description' => 'Enables/disables embed links for ACF fields in the REST API. Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Preload Blocks',
'name' => 'preload_blocks',
'type' => 'true_false',
'description' => 'Allows ACF to preload the initial render html of ACF Blocks into the block editor. Defaults to true',
'category' => 'acf',
),
array(
'label' => 'Enable Shortcode',
'name' => 'enable_shortcode',
'type' => 'true_false',
'description' => 'Enable the ACF shortcode. Defaults to true',
'category' => 'acf',
),
),
// ACFE
'acfe' => array(
array(
'label' => 'Theme Folder',
'name' => 'acfe/theme_folder',
'type' => 'text',
'description' => 'Detected Theme Folder',
'category' => 'acfe',
),
array(
'label' => 'Theme Path',
'name' => 'acfe/theme_path',
'type' => 'text',
'description' => 'Detected Theme Path',
'category' => 'acfe',
),
array(
'label' => 'Theme URL',
'name' => 'acfe/theme_url',
'type' => 'text',
'description' => 'Detected Theme URL',
'category' => 'acfe',
),
),
// AutoSync
'autosync' => array(
array(
'label' => 'Json',
'name' => 'acfe/json',
'type' => 'true_false',
'description' => 'Whenever Json AutoSync is enabled',
'category' => 'autosync',
),
array(
'label' => 'Json: Load',
'name' => 'acfe/json_load',
'type' => 'text',
'description' => 'Json AutoSync load paths (array)',
'category' => 'autosync',
'format' => 'array',
),
array(
'label' => 'Json: Save',
'name' => 'acfe/json_save',
'type' => 'text',
'description' => 'Json AutoSync saving path',
'category' => 'autosync',
),
array(
'label' => 'PHP',
'name' => 'acfe/php',
'type' => 'true_false',
'description' => 'Whenever PHP AutoSync is enabled',
'category' => 'autosync',
),
array(
'label' => 'PHP: Load',
'name' => 'acfe/php_load',
'type' => 'text',
'description' => 'PHP AutoSync load paths (array)',
'category' => 'autosync',
'format' => 'array',
),
array(
'label' => 'PHP: Save',
'name' => 'acfe/php_save',
'type' => 'text',
'description' => 'PHP AutoSync saving path',
'category' => 'autosync',
),
),
// Modules
'modules' => array(
array(
'label' => 'Author',
'name' => 'acfe/modules/author',
'type' => 'true_false',
'description' => 'Show/hide the Author module. Defaults to true',
'category' => 'modules',
),
array(
'label' => 'Block Types',
'name' => 'acfe/modules/block_types',
'type' => 'true_false',
'description' => 'Show/hide the Block Types module. Defaults to true',
'category' => 'modules',
),
array(
'label' => 'Categories',
'name' => 'acfe/modules/categories',
'type' => 'true_false',
'description' => 'Enable/disable the Field Group Categories taxonomy. Defaults to true',
'category' => 'modules',
),
array(
'label' => 'Developer mode',
'name' => 'acfe/dev',
'type' => 'true_false',
'description' => 'Show/hide the advanced WP post meta box. Defaults to false',
'category' => 'modules',
),
array(
'label' => 'Forms',
'name' => 'acfe/modules/forms',
'type' => 'true_false',
'description' => 'Show/hide the Forms module. Defaults to true',
'category' => 'modules',
),
array(
'label' => 'Forms: Top Level',
'name' => 'acfe/modules/forms/top_level',
'type' => 'true_false',
'description' => 'Show/hide the Forms module as top level menu. Defaults to false',
'category' => 'modules',
),
array(
'label' => 'Multilangual',
'name' => 'acfe/modules/multilang',
'type' => 'true_false',
'description' => 'Enable/disable Multilang compatibility module for WPML & Polylang. Defaults to true',
'category' => 'modules',
),
array(
'label' => 'Options',
'name' => 'acfe/modules/options',
'type' => 'true_false',
'description' => 'Show/hide the Options module. Defaults to true',
'category' => 'modules',
),
array(
'label' => 'Options Pages',
'name' => 'acfe/modules/options_pages',
'type' => 'true_false',
'description' => 'Show/hide the Options Pages module. Defaults to true',
'category' => 'modules',
),
array(
'label' => 'Performance',
'name' => 'acfe/modules/performance',
'type' => 'text',
'description' => 'Enable/disable Performance module. Defaults to false',
'category' => 'modules',
),
array(
'label' => 'Post Types',
'name' => 'acfe/modules/post_types',
'type' => 'true_false',
'description' => 'Show/hide the Post Types module. Defaults to true',
'category' => 'modules',
),
array(
'label' => 'Taxonomies',
'name' => 'acfe/modules/taxonomies',
'type' => 'true_false',
'description' => 'Show/hide the Taxonomies module. Defaults to true',
'category' => 'modules',
),
array(
'label' => 'UI Enhancements',
'name' => 'acfe/modules/ui',
'type' => 'true_false',
'description' => 'Show/hide the UI enhancements module. Defaults to true',
'category' => 'modules',
),
),
// Fields
'fields' => array(
array(
'label' => 'reCaptcha: Secret key',
'name' => 'acfe/field/recaptcha/secret_key',
'type' => 'text',
'description' => 'The default reCaptcha secret key',
'category' => 'fields',
),
array(
'label' => 'reCaptcha: Site key',
'name' => 'acfe/field/recaptcha/site_key',
'type' => 'text',
'description' => 'The default reCaptcha site key',
'category' => 'fields',
),
array(
'label' => 'reCaptcha: Version',
'name' => 'acfe/field/recaptcha/version',
'type' => 'text',
'description' => 'The default reCaptcha version',
'category' => 'fields',
),
array(
'label' => 'reCaptcha: V2 size',
'name' => 'acfe/field/recaptcha/v2/size',
'type' => 'text',
'description' => 'The default reCaptcha v2 size',
'category' => 'fields',
),
array(
'label' => 'reCaptcha: V2 theme',
'name' => 'acfe/field/recaptcha/v2/theme',
'type' => 'text',
'description' => 'The default reCaptcha v2 theme',
'category' => 'fields',
),
array(
'label' => 'reCaptcha: V3 hide logo',
'name' => 'acfe/field/recaptcha/v3/hide_logo',
'type' => 'true_false',
'description' => 'Show/hide reCaptcha v3 logo',
'category' => 'fields',
),
),
);
}