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

In this article

Filters the media widget instance schema to add additional properties.

Parameters

$schemaarray
Instance schema.
$widgetWP_Widget_Media
Widget object.

Source

$schema = apply_filters( "widget_{$this->id_base}_instance_schema", $schema, $this );

Changelog

VersionDescription
4.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.