acf/form_data action-hookACF 5.0.0

Fires within the #acf-form-data element to add extra HTML.

Usage

add_action( 'acf/form_data', 'wp_kama_acf_form_data_action' );

/**
 * Function for `acf/form_data` action-hook.
 * 
 * @param array $data The form data.
 *
 * @return void
 */
function wp_kama_acf_form_data_action( $data ){
	// action...
}
$data(array)
The form data.

Changelog

Since 5.0.0 Introduced.

Where the hook is called

acf_form_data()
acf/form_data
acf/includes/acf-form-functions.php 108
do_action( 'acf/form_data', $data );

Where the hook is used in Advanced Custom Fields PRO

Usage not found.