WordPress at Your Fingertips
filter is not described

widget_custom_html_content filter-hook . WP 4.8.1

Filters the content of the Custom HTML widget.

Usage

add_filter( 'widget_custom_html_content', 'filter_function_name_4607', 10, 3 );
function filter_function_name_4607( $content, $instance, $widget ){
	// filter...

	return $content;
}
$content(string)
The widget content.
$instance(array)
Array of settings for the current widget.
$widget(WP_Widget_Custom_HTML)
Current Custom HTML widget instance.

Changelog

Since 4.8.1 Introduced.

Where the hook is called

WP_Widget_Custom_HTML::widget()
widget_custom_html_content
wp-includes/widgets/class-wp-widget-custom-html.php 162
$content = apply_filters( 'widget_custom_html_content', $content, $instance, $this );

Where in WP core the hook is used WordPress

Usage not found.