acf/field_group/form_data
This function will add extra HTML to the acf form data element
Usage
add_action( 'acf/field_group/form_data', 'wp_kama_acf_field_group_form_data_action' );
/**
* Function for `acf/field_group/form_data` action-hook.
*
* @param array $args Arguments array to pass through to action.
*
* @return void
*/
function wp_kama_acf_field_group_form_data_action( $args ){
// action...
}
- $args(array)
- Arguments array to pass through to action.
Changelog
| Since 5.3.8 | Introduced. |
Where the hook is called
acf/field_group/form_data
acf/includes/admin/post-types/admin-field-group.php 220
do_action( 'acf/field_group/form_data', $args );