WP_Widget_Media::reset_default_labels() WordPress Method
The WP_Widget_Media::reset_default_labels() method is used to reset the labels for the media widget to their default values. This is useful if you have changed the labels and want to reset them back to the originals.
WP_Widget_Media::reset_default_labels() #
Resets the cache for the default labels.
Source
File: wp-includes/widgets/class-wp-widget-media.php
public static function reset_default_labels() { self::$default_description = ''; self::$l10n_defaults = array(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |