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

The widget content.

$instance

Array of settings for the current widget.

$widget

Current Custom HTML widget instance.


Source

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

View on GitHub



Changelog

Changelog
Version Description
4.8.1 Introduced.