WP_Post_Type::reset_default_labels()public staticWP 6.0.0

Resets the cache for the default labels.

Method of the class: WP_Post_Type{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WP_Post_Type::reset_default_labels();

Changelog

Since 6.0.0 Introduced.

WP_Post_Type::reset_default_labels() code WP 6.4.3

public static function reset_default_labels() {
	self::$default_labels = array();
}