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

Filters the content of the Custom HTML widget.


Parameters

$content string
The widget content.
$instance array
Array of settings for the current widget.
$widget WP_Widget_Custom_HTML
Current Custom HTML widget instance.

Top ↑

Source

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

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


Top ↑

Changelog

Changelog
Version Description
4.8.1 Introduced.

Top ↑

User Contributed Notes

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