W3cubDocs

/WordPress

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

Filters the media widget instance prior to rendering the media.

Parameters

$instance

(array) Instance data.

$args

(array) Widget args.

$this

(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–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_this-id_base_instance