WordPress hook directory
widget_text

Description

Applied to the widget text of the WordPress Text widget. May also apply to some third party widgets as well.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for widget_text

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.3 wp-includes/widgets.php 534 View in context filter
2.5 wp-includes/widgets.php 577 View in context filter
2.6 wp-includes/widgets.php 607 View in context filter
2.7 wp-includes/widgets.php 953 View in context filter
2.8 wp-includes/default-widgets.php 380 View in context filter
2.9 wp-includes/default-widgets.php 380 View in context filter
3.0 wp-includes/default-widgets.php 380 View in context filter
3.1 wp-includes/default-widgets.php 379 View in context filter
3.2 wp-includes/default-widgets.php 379 View in context filter
3.3 wp-includes/default-widgets.php 379 View in context filter
3.4 wp-includes/default-widgets.php 401 View in context filter
3.5 wp-includes/default-widgets.php 401 View in context filter
3.6 wp-includes/default-widgets.php 402 View in context filter
3.7 wp-includes/default-widgets.php 402 View in context filter
3.8 wp-includes/default-widgets.php 402 View in context filter
3.9 wp-includes/default-widgets.php 499 View in context filter
4.0 wp-includes/default-widgets.php 497 View in context filter
4.1 wp-includes/default-widgets.php 497 View in context filter
4.2 wp-includes/default-widgets.php 519 View in context filter
4.3 wp-includes/default-widgets.php 590 View in context filter
4.4 wp-includes/widgets/class-wp-widget-text.php 58 View in context filter
4.5 wp-includes/widgets/class-wp-widget-text.php 62 View in context filter
4.6 wp-includes/widgets/class-wp-widget-text.php 62 View in context filter
4.7 wp-includes/widgets/class-wp-widget-text.php 62 View in context filter
4.8 wp-includes/widgets/class-wp-widget-text.php 82 View in context filter
4.9 wp-includes/widgets/class-wp-widget-custom-html.php 141 View in context filter
4.9 wp-includes/widgets/class-wp-widget-text.php 266 View in context filter
5.0 wp-includes/widgets/class-wp-widget-custom-html.php 141 View in context filter
5.0 wp-includes/widgets/class-wp-widget-text.php 270 View in context filter
5.1 wp-includes/widgets/class-wp-widget-custom-html.php 144 View in context filter
5.1 wp-includes/widgets/class-wp-widget-text.php 277 View in context filter

Related Hooks

We find related hooks using word stems. widget_text has 2 significant word stem(s): widget, text. Note that some of the hooks below may not appear in all versions of WP.