acf/removed_unsafe_html, __FUNCTION__, $selector, $field, $post_id
acf/removed_unsafe_html, __FUNCTION__, $selector, $field, $post_id
Appears in: advanced-custom-fields.6.8.6
Hook Type: action
Displaying hooks found in version: advanced-custom-fields.6.8.6do_action('acf/removed_unsafe_html, __FUNCTION__, $selector, $field, $post_id') is found 1 times:
- /includes/api/api-template.php line 135
$field_type = is_array( $field ) && isset( $field['type'] ) ? $field['type'] : 'text'; if ( apply_filters( 'acf/the_field/allow_unsafe_html', false, $selector, $post_id, $field_type, $field ) ) { $value = $unescaped_value; } elseif ( $unescaped_value !== false && (string) $value !== (string) $unescaped_value ) { do_action( 'acf/removed_unsafe_html', __FUNCTION__, $selector, $field, $post_id ); } echo $value; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped by logic above. } /**