WP_Widget_Media::get_default_description()protected staticWP 6.0.0

Returns the default description of the widget.

Method of the class: WP_Widget_Media{}

No Hooks.

Return

String.

Usage

$result = WP_Widget_Media::get_default_description();

Changelog

Since 6.0.0 Introduced.

WP_Widget_Media::get_default_description() code WP 6.1.1

protected static function get_default_description() {
	if ( self::$default_description ) {
		return self::$default_description;
	}

	self::$default_description = __( 'A media item.' );
	return self::$default_description;
}