acf/removed_unsafe_html, __FUNCTION__, $atts[field], $field, $post_id

acf/removed_unsafe_html, __FUNCTION__, $atts[field], $field, $post_id

Hook Type: action

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.8.6

do_action('acf/removed_unsafe_html, __FUNCTION__, $atts[field], $field, $post_id') is found 1 times:

  • /includes/api/api-template.php line 1128
    	// Handle getting the unescaped version if we're allowed unsafe html.
    	if ( apply_filters( 'acf/shortcode/allow_unsafe_html', false, $atts, $field_type, $field ) ) {
    		$value = $unescaped_value;
    	} elseif ( $unescaped_value !== false && (string) $value !== (string) $unescaped_value ) {
    		do_action( 'acf/removed_unsafe_html', __FUNCTION__, $atts['field'], $field, $post_id );
    	}
    
    	return $value;
    }
    add_shortcode( 'acf', 'acf_shortcode' );