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

Filters the content of the Custom HTML widget.

Parameters Parameters


(string) The widget content.


(array) Array of settings for the current widget.


(WP_Widget_Custom_HTML) Current Custom HTML widget instance.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
4.8.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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