acf/internal_post_type/current_screen хук-событиеACF 1.0

Использование

add_action( 'acf/internal_post_type/current_screen', 'wp_kama_acf_internal_post_type_current_screen_action' );

/**
 * Function for `acf/internal_post_type/current_screen` action-hook.
 * 
 * @param  $post_type 
 *
 * @return void
 */
function wp_kama_acf_internal_post_type_current_screen_action( $post_type ){

	// action...
}
$post_type
-

Где вызывается хук

ACF_Admin_Internal_Post_Type::current_screen()
acf/internal_post_type/current_screen
acf/includes/admin/admin-internal-post-type.php 102
do_action( 'acf/internal_post_type/current_screen', $this->post_type );

Где используется хук в Advanced Custom Fields PRO

acf/pro/acf-pro.php 45
add_action( 'acf/internal_post_type/current_screen', array( $this, 'invalid_license_redirect' ) );