WP_Widget_Media::render_media()publicWP 4.8.0

Render the media on the frontend.

{} It's a method of the class: WP_Widget_Media{}

No Hooks.

Return

null. Nothing.

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.

Code of WP_Widget_Media::render_media() WP 6.1.1

abstract public function render_media( $instance );