Changeset 41951 for trunk/src/wp-includes/widgets/class-wp-widget-media.php
- Timestamp:
- 10/19/2017 11:43:22 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media.php
r41866 r41951 128 128 */ 129 129 public function get_instance_schema() { 130 returnarray(130 $schema = array( 131 131 'attachment_id' => array( 132 132 'type' => 'integer', … … 150 150 ), 151 151 ); 152 153 /** 154 * Filters the media widget instance schema to add additional properties. 155 * 156 * @since 4.9.0 157 * 158 * @param array $schema Instance schema. 159 * @param WP_Widget_Media $this Widget object. 160 */ 161 $schema = apply_filters( "widget_{$this->id_base}_instance_schema", $schema, $this ); 162 163 return $schema; 152 164 } 153 165
Note: See TracChangeset
for help on using the changeset viewer.