9 Aug

- Tagged in "Filters" -

acf/json/save_file_name

Description Used to change the filename of files saved by the ACF local JSON feature. Changelog Added in version 6.2. Parameters apply_filters( 'acf/json/save_file_name', $filename, $post, $load_path ); $filename (string) The current filename being filtered. $post (array) An array of settings for the field group, post type, taxonomy, or options page being saved. $load_path (string) The […]

Continue Reading

9 Aug

acf/json/eof_newline

Description Used to change the newline character at the end of JSON files. Changelog Added in version 6.2. Parameters apply_filters( 'acf/json/eof_newline', $newline_character ); $newline_character (string) The current newline character, PH... Continue Reading

9 Aug

acf/settings/enable_options_pages_ui

Description Used to disable the UI for registering options pages. Changelog Added in version 6.2. Example This example demonstrates how to disable the UI for registering options pages. Options pages can still be registered with PHP using th... Continue Reading

14 Jul

acf/fields/user/query

Description Filters the query $args used by WP_Query to display text for each user. Parameters apply_filters( 'acf/fields/user/query', $args, $field, $post_id ); $array (array) The query args. See WP_Query for available args. $field (array)... Continue Reading

27 Jun

acf/field_group/auto_add_first_field

Filter for determining if a new field group should render with a text field automatically.

Continue Reading

9 May

acf/fields/user/result

Filters the text displayed for each user.

Continue Reading

3 Apr

acf/field_group/enable_field_browser

Used to hide the ‘Browse Fields’ button to disable the field type selection modal.

Continue Reading

3 Apr

acf/settings/enable_post_types

Used to disable the custom post type and taxonomies feature.

Continue Reading

13 Dec

acf/field_group/disable_field_settings_tabs

Used to disable the field settings tabs in the field group editor.

Continue Reading

17 Feb

acf/update_field

Filters the $field settings before being saved.

Continue Reading