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.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.