acf/removed_unsafe_html action-hookACF 1.0

Usage

add_action( 'acf/removed_unsafe_html', 'wp_kama_acf_removed_unsafe_html_action', 10, 4 );

/**
 * Function for `acf/removed_unsafe_html` action-hook.
 * 
 * @param  $__FUNCTION__ 
 * @param  $selector     
 * @param  $field        
 * @param  $post_id      
 *
 * @return void
 */
function wp_kama_acf_removed_unsafe_html_action( $__FUNCTION__, $selector, $field, $post_id ){
	// action...
}
$__FUNCTION__
-
$selector
-
$field
-
$post_id
-

Where the hook is called

the_field()
acf/removed_unsafe_html
the_sub_field()
acf/removed_unsafe_html
acf_shortcode()
acf/removed_unsafe_html
acf/includes/api/api-template.php 135
do_action( 'acf/removed_unsafe_html', __FUNCTION__, $selector, $field, $post_id );
acf/includes/api/api-template.php 913
do_action( 'acf/removed_unsafe_html', __FUNCTION__, $field_name, $field, false );
acf/includes/api/api-template.php 1128
do_action( 'acf/removed_unsafe_html', __FUNCTION__, $atts['field'], $field, $post_id );

Where the hook is used in Advanced Custom Fields PRO

acf/includes/api/api-template.php 189
add_action( 'acf/removed_unsafe_html', '_acf_log_escaped_html', 10, 4 );