acf/post_type/form_data
This function will add extra HTML to the acf form data element
Usage
add_action( 'acf/post_type/form_data', 'wp_kama_acf_post_type_form_data_action' );
/**
* Function for `acf/post_type/form_data` action-hook.
*
* @param array $args Arguments array to pass through to action.
*
* @return void
*/
function wp_kama_acf_post_type_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/post_type/form_data
acf/includes/admin/post-types/admin-post-type.php 204
do_action( 'acf/post_type/form_data', $args );