lib/Taxonomy.php
public static function rename( $taxonomy, $name_singular, $name_plural ) {
		if ( ! taxonomy_exists( $taxonomy ) ) {
			return;
		}

		( new Taxonomy_Labels( $taxonomy, $name_singular, $name_plural ) )->init();
	}
public static function rename( $taxonomy, $name_singular, $name_plural ) {
		if ( ! taxonomy_exists( $taxonomy ) ) {
			return;
		}

		( new Taxonomy_Labels( $taxonomy, $name_singular, $name_plural ) )->init();
	}
public static function rename ( $ taxonomy , $ name_singular , $ name_plural ) { if ( ! taxonomy_exists ( $ taxonomy ) ) { return ; } ( new Taxonomy_Labels ( $ taxonomy , $ name_singular , $ name_plural ) ) -> init ( ) ; }
Renames a taxonomy.

Run this function before the `init` hook.

@since 2.2.0

@param string $taxonomy      The taxonomy to rename.
@param string $name_singular The new singular name.
@param string $name_plural   The new plural name.
Renames a taxonomy .