Whether the widget has content to show.
WP_Widget_Media::render_control_template_scripts
Render form template scripts.
WP_Widget_Media::enqueue_admin_scripts
Loads the required scripts and styles for the widget control.
WP_Widget_Media::enqueue_preview_scripts
Enqueue preview scripts.
Advertisement
WP_Widget_Media::display_media_state
Filters the default media display states for items in the Media list table.
WP_Widget_Media::form
Outputs the settings update form.
WP_Widget_Media::update
Sanitizes the widget form values as they are saved.
WP_Widget_Media::render_media
Render the media on the frontend.
Advertisement
widget_{$this->id_base}_instance
Filters the media widget instance prior to rendering the media.
WP_Widget_Media::widget
Displays the widget on the front-end.
WP_Widget_Media::sanitize_token_list
Sanitize a token list string, such as used in HTML rel and class attributes.
WP_Widget_Media::is_attachment_with_mime_type
Determine if the supplied attachment is for a valid attachment post with the specified MIME type.
Advertisement
WP_Widget_Media::get_instance_schema
Get schema for properties of a widget instance (item).
WP_Widget_Media::_register_one
Add hooks while registering all widget instances of this widget class.
WP_Widget_Media::__construct
Constructor.