W3cubDocs

/WordPress

WP_Widget_Media::render_media( array $instance )

Render the media on the frontend.

Parameters

$instance

(array) (Required) Widget instance props.

Return

(string)

Source

File: wp-includes/widgets/class-wp-widget-media.php

abstract public function render_media( $instance );

Changelog

Version Description
4.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_widget_media/render_media