apply_filters( "widget_{$this->id_base}_instance_schema", array $schema, WP_Widget_Media $widget )
Filters the media widget instance schema to add additional properties.
Parameters
- $schema
-
(array) Instance schema.
- $widget
-
(WP_Widget_Media) Widget object.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_this-id_base_instance_schema