widget_{$this->id_base}_instance_schema WordPress Filter Hook
The widget_{$this->id_base}_instance_schema hook is used to filter the schema for a widget instance.
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. |