Outputs the settings update form.
WP_Widget_Media::render_media
Render the media on the frontend.
WP_Widget_Media::update
Sanitizes the widget form values as they are saved.
WP_Widget_Media::widget
Displays the widget on the front-end.
Advertisement
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.
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.
Advertisement
WP_Widget_Media::__construct
Constructor.
WP_Widget_Media_Video::render_control_template_scripts
Render form template scripts.
WP_Widget_Media_Video::enqueue_admin_scripts
Loads the required scripts and styles for the widget control.
WP_Widget_Media_Video::enqueue_preview_scripts
Enqueue preview scripts.
Advertisement
WP_Widget_Media_Video::inject_video_max_width_style
Inject max-width and remove height for videos too constrained to fit inside sidebars on frontend.
WP_Widget_Media_Video::render_media
Render the media on the frontend.
WP_Widget_Media_Video::get_instance_schema
Get schema for properties of a widget instance (item).