最近更新的页面
Adding fields to Menu Items
This guide will demonstrate how to add custom fields to a WordPress Menu Item and how to then mod...
Adding fields to Media Attachments
This guide will demonstrate how to add custom fields to a WordPress Attachment and how to then di...
Adding Custom Settings to Fields
Each ACF field type may contain several different settings that can be used to customize the appe...
Adding custom javascript to fields
✋ We’ve launched a new JavaScript API full of powerful functions, actions and filters! If you are...
add_sub_row()
Adds a new row of data to a Repeater or Flexible Content sub field value. This function can be us...
add_row()
Adds a new row of data to an existing Repeater or Flexible Content field value. Parameters add_ro...
acf_set_options_page_title()
Description This function has been deprecated. Please use the acf/options_page/settings filter in...
acf_set_options_page_menu()
Description This function has been deprecated. Please use the acf/options_page/settings filter in...
acf_set_options_page_capability()
Description This function has been deprecated. Please use the acf/options_page/settings filter in...
acf_register_form()
Description Registers a form for use with the acf_form() function. There are many settings availa...
acf_register_block_type()
Since ACF 6.0, we recommend you register blocks with the new block.json syntax syntax rather than...
acf_inline_toolbar_editing_attrs()
Description Helper function that returns the HTML attributes required for toolbar inline editing ...
acf_inline_text_editing_attrs()
Description Helper function that returns the HTML attributes required for inline text editing as ...
acf_get_fields()
Description Retrieves all the fields from a specific field group, returning them as an array of f...
acf_get_field_groups()
Description Retrieves all ACF field groups filtered by WP_Query args, returning them as an array...
acf_form_head()
Description Used to process, validate and save the submitted form data created by the acf_form() ...
acf_form()
Description Displays a form to add or edit a post. There are many settings available to customize...
acf_add_options_sub_page()
Description Adds a new options sub page to the admin menu. Options pages are used to store global...
acf_add_options_page()
Description Adds an options page to the admin menu. Options pages are used to store global settin...
acf/validate_value
Description Used to perform custom validation on the field’s $value before it is saved into the ...