acf/import_(hook_name) action-hookACF 5.0.0

Fires immediately after an ACF post has been imported.

Usage

add_action( 'acf/import_(hook_name)', 'wp_kama_acf_import_hook_name_action' );

/**
 * Function for `acf/import_(hook_name)` action-hook.
 * 
 * @param array $post The ACF post array.
 *
 * @return void
 */
function wp_kama_acf_import_hook_name_action( $post ){
	// action...
}
$post(array)
The ACF post array.

Changelog

Since 5.0.0 Introduced.

Where the hook is called

ACF_Internal_Post_Type::import_post()
acf/import_(hook_name)
ACF_Field_Group::import_post()
acf/import_(hook_name)
acf/includes/class-acf-internal-post-type.php 938
do_action( "acf/import_{$this->hook_name}", $post );
acf/includes/post-types/class-acf-field-group.php 559
do_action( "acf/import_{$this->hook_name}", $post );

Where the hook is used in Advanced Custom Fields PRO

Usage not found.