ACF (category)

acf_add_local_field_group()

Registers an ACF field group and adds its fields to local storage.

acf_add_validation_error()

Adds a validation error and prevents submitted ACF form data from being saved.

acf_form()

Displays a form for adding or editing posts.

acf_form_head()

Used to process, validate, and save data submitted by a form created with acf_form(). The function also enqueues the form scripts and styles required for correct display.

acf_get_object_type()

Gets data for the specified WordPress object.

acf_register_block_type()

Registers a custom Gutenberg block through PHP (ACF).

acf_shortcode()

This is the handler for the [acf] shortcode. Example shortcode: [acf field="heading" post_id="123" format_value="1"].

acf_strlen()

Gets the length of the supplied string. It is most often used to calculate the length of a string sent through $_POST.

acf_with_default()

acf_with_default

add_row()

Adds a new data row to the existing value of a Repeater or Flexible Content field.

get_field()

Gets the value of the specified field or option.

get_fields()

Returns an array containing all custom-field values for a specific post, user, comment, term, and so on.

get_row()

Gets an array (in name => value format) for the current row of a have_rows() loop.

the_field()

Displays the value of the specified field (meta-field).