apply_filters( 'widget_custom_html_content', string $content, array $instance, WP_Widget_Custom_HTML $this )

Filters the content of the Custom HTML widget.


Parameters

$content

The widget content.

$instance

Array of settings for the current widget.

$this

Current Custom HTML widget instance.


Source

File: wp-includes/widgets/class-wp-widget-custom-html.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.8.1 Introduced.