File: wp-includes/widgets/class-wp-widget-media.php
-
Resets the cache for the default labels.
-
Returns the default description of the widget.
-
Returns the default localized strings used by the widget.
-
Add hooks while registering all widget instances of this widget class.
-
Filters the media widget instance schema to add additional properties.
-
Enqueue preview scripts.
-
Loads the required scripts and styles for the widget control.
-
Render form template scripts.
-
Whether the widget has content to show.
-
methodWP_Widget_Media::form()
Outputs the settings update form.
-
Filters the default media display states for items in the Media list table.
-
Get schema for properties of a widget instance (item).
-
Determine if the supplied attachment is for a valid attachment post with the specified MIME type.
-
Sanitize a token list string, such as used in HTML rel and class attributes.
-
Displays the widget on the front-end.
-
Filters the media widget instance prior to rendering the media.
-
Sanitizes the widget form values as they are saved.
-
Render the media on the frontend.
-
classWP_Widget_Media
Core class that implements a media widget.
-
Constructor.