WP_Widget_Media::render_media()publicWP 4.8.0

Render the media on the frontend.

Method of the class: WP_Widget_Media{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Widget_Media = new WP_Widget_Media();
$WP_Widget_Media->render_media( $instance );
$instance(array) (required)
Widget instance props.

Changelog

Since 4.8.0 Introduced.

WP_Widget_Media::render_media() code WP 6.4.3

abstract public function render_media( $instance );