W3cubDocs

/WordPress

apply_filters( "widget_{$this->id_base}_instance_schema", array $schema, WP_Widget_Media $this )

Filters the media widget instance schema to add additional properties.

Parameters

$schema

(array) Instance schema.

$this

(WP_Widget_Media) Widget object.

Source

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

View on Trac

Changelog

Version Description
4.9.0 Introduced.

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