acfe_form('my_form_name')
& acfe_form(188)
to display a form
&
to display a formacf_update_setting('acfe/modules/dynamic_forms', false)
action('acfe/form/validation', $form, $post_id)
& action('acfe/form/validation/name=form_name', $form, $post_id)
to validate form before submission. get_field()
, have_rows()
, get_sub_field()
functions can be used.acfe_add_validation_error('field_name_or_key', 'message')
helper to add error on specific field during the validationaction('acfe/form/submit', $form, $post_id)
& action('acfe/form/submit/name=form_name', $form, $post_id)
to add custom action on submissionacfe/field/recaptcha/site_key
(API site key)acfe/field/recaptcha/secret_key
(API secret key)acfe/field/recaptcha/version
(v2 or v3)acfe/field/recaptcha/v2/theme
(light or dark)acfe/field/recaptcha/v2/size
(normal or compact)acfe/field/recaptcha/v3/hide_logo
(true or false)('acfe/fields/button/before_ajax', this.$el)
('acfe/fields/button/ajax_success', response, this.$el)
filter('acfe/fields/advanced_link/fields', $fields, $field, $link)
allowing developers to add custom field to the modalfilter('acfe/flexible/lock', true, $field)
to lock flexible content layouts (disable sortable)filter('acfe/flexible/lock/name=my_flexible', true, $field)
to lock flexible content layouts (disable sortable)filter('acfe/flexible/remove_actions', true, $field)
to remove the “Add layout” buttonfilter('acfe/flexible/remove_actions/name=my_flexible', true, $field)
to remove the “Add layout” buttonaction('acfe/flexible/render/before_template', $field, $layout, $is_preview)
to add wrapper around the template render (with 6 variations)action('acfe/flexible/render/after_template', $field, $layout, $is_preview)
to add wrapper around the template render (with 6 variations)text-align:center
applied to placeholder cssfilter('acfe/repeater/lock', true, $field)
to lock repeater rows (disable sortable)filter('acfe/repeater/lock/name=my_repeater', true, $field)
to repeater rows (disable sortable)filter('acfe/repeater/remove_actions', true, $field)
to remove the “Add row” buttonfilter('acfe/repeater/remove_actions/name=my_repeater', true, $field)
to remove the “Add row” buttonfilter('acfe/load_field', $field)
to filter field settings everywhere but not in field group & tools managementfilter('acfe/load_field_front', $field)
to filter field settings in the front-end (and ajax coming from front-end) but not in field group & tools managementfilter('acfe/load_field_admin', $field)
to filter field settings in the administration (and ajax coming from administration) but not in field group & tools managementacfe_admin_archive
is set to true (also available in Dynamic Post Type)save_json
setting being incorrectly displayed in the ACF Setting tabacfe/php
, acfe/php_save
, acfe/php_load
, acfe/php_found
SCRIPT_DEBUG
. Can be activated using acf_update_setting('acfe/dev', true)
or define('ACFE_dev', true)
meta_box_cb
setting (thanks @DavidGMiles)