apply_filters( ‘widget_custom_html_content’, string $content, array $instance, WP_Widget_Custom_HTML $widget )

In this article

Filters the content of the Custom HTML widget.

Parameters

$contentstring
The widget content.
$instancearray
Array of settings for the current widget.
$widgetWP_Widget_Custom_HTML
Current Custom HTML widget instance.

Source

$content = apply_filters( 'widget_custom_html_content', $content, $instance, $this );

Changelog

VersionDescription
4.8.1Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.