apply_filters( "widget_{$this->id_base}_instance", array $instance, array $args, WP_Widget_Media $widget )

Filters the media widget instance prior to rendering the media.

Parameters

$instance

(array) Instance data.

$args

(array) Widget args.

$widget

(WP_Widget_Media) Widget object.

Source

File: wp-includes/widgets/class-wp-widget-media.php

View on Trac

Changelog

Version Description
4.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_this-id_base_instance