New and updated in 4.8.0
-
Loads the required scripts and styles for the widget control.
-
Renders form template scripts.
-
Loads the required media files for the media manager and scripts for media widgets.
Used by 0 functions | Uses 7 functions | Source: wp-includes/widgets/class-wp-widget-media-audio.php:146 -
Render form template scripts.
Used by 0 functions | Uses 4 functions | Source: wp-includes/widgets/class-wp-widget-media-audio.php:187 -
Filters the content of the Text widget to apply changes expected from the visual (TinyMCE) editor.
-
Constructor.
Used by 0 functions | Uses 6 functions | Source: wp-includes/widgets/class-wp-widget-media-audio.php:25 -
Get schema for properties of a widget instance (item).
Used by 2 functions | Uses 2 functions | Source: wp-includes/widgets/class-wp-widget-media-audio.php:66 -
Render the media on the frontend.
Used by 0 functions | Uses 4 functions | Source: wp-includes/widgets/class-wp-widget-media-audio.php:101 -
Enqueue preview scripts.
Used by 0 functions | Uses 3 functions | Source: wp-includes/widgets/class-wp-widget-media-audio.php:133 -
Enqueue preview scripts.
Used by 0 functions | Uses 3 functions | Source: wp-includes/widgets/class-wp-widget-media-video.php:174 -
Loads the required scripts and styles for the widget control.
Used by 0 functions | Uses 6 functions | Source: wp-includes/widgets/class-wp-widget-media-video.php:188 -
Render form template scripts.
Used by 0 functions | Uses 4 functions | Source: wp-includes/widgets/class-wp-widget-media-video.php:226 -
Core class that implements an audio widget.
Used by 0 functions | Uses 1 function | Source: wp-includes/widgets/class-wp-widget-media-audio.php:18 -
Core class that implements a video widget.
Used by 0 functions | Uses 1 function | Source: wp-includes/widgets/class-wp-widget-media-video.php:18 -
Constructor.
Used by 0 functions | Uses 6 functions | Source: wp-includes/widgets/class-wp-widget-media-video.php:25 -
Get schema for properties of a widget instance (item).
Used by 2 functions | Uses 2 functions | Source: wp-includes/widgets/class-wp-widget-media-video.php:67 -
Render the media on the frontend.
Used by 0 functions | Uses 8 functions | Source: wp-includes/widgets/class-wp-widget-media-video.php:112 -
Inject max-width and remove height for videos too constrained to fit inside sidebars on frontend.
Used by 1 function | Uses 0 functions | Source: wp-includes/widgets/class-wp-widget-media-video.php:157 -
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.
-
Enqueue preview scripts.
-
Loads the required scripts and styles for the widget control.
-
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.