lib/Taxonomy_Labels.php
public function add_term_updated_messages( $messages ) {
		$messages[ $this->taxonomy ] = [
			0 => '',
			/* translators: %s: Singular taxonomy name */
			1 => sprintf( __( '%s added.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Singular taxonomy name */
			2 => sprintf( __( '%s deleted.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Singular taxonomy name */
			3 => sprintf( __( '%s updated.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Singular taxonomy name */
			4 => sprintf( __( '%s not added.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Singular taxonomy name */
			5 => sprintf( __( '%s not updated.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Plural taxonomy name */
			6 => sprintf( __( '%s deleted.', 'mind/types' ), $this->name_plural ),
		];

		return $messages;
	}
public function add_term_updated_messages( $messages ) {
		$messages[ $this->taxonomy ] = [
			0 => '',
			/* translators: %s: Singular taxonomy name */
			1 => sprintf( __( '%s added.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Singular taxonomy name */
			2 => sprintf( __( '%s deleted.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Singular taxonomy name */
			3 => sprintf( __( '%s updated.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Singular taxonomy name */
			4 => sprintf( __( '%s not added.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Singular taxonomy name */
			5 => sprintf( __( '%s not updated.', 'mind/types' ), $this->name_singular ),
			/* translators: %s: Plural taxonomy name */
			6 => sprintf( __( '%s deleted.', 'mind/types' ), $this->name_plural ),
		];

		return $messages;
	}
public function add_term_updated_messages ( $ messages ) { $ messages [ $ this -> taxonomy ] = [ 0 => '' , /* translators: %s: Singular taxonomy name */ 1 => sprintf ( __ ( '%s added.' , 'mind/types' ) , $ this -> name_singular ) , /* translators: %s: Singular taxonomy name */ 2 => sprintf ( __ ( '%s deleted.' , 'mind/types' ) , $ this -> name_singular ) , /* translators: %s: Singular taxonomy name */ 3 => sprintf ( __ ( '%s updated.' , 'mind/types' ) , $ this -> name_singular ) , /* translators: %s: Singular taxonomy name */ 4 => sprintf ( __ ( '%s not added.' , 'mind/types' ) , $ this -> name_singular ) , /* translators: %s: Singular taxonomy name */ 5 => sprintf ( __ ( '%s not updated.' , 'mind/types' ) , $ this -> name_singular ) , /* translators: %s: Plural taxonomy name */ 6 => sprintf ( __ ( '%s deleted.' , 'mind/types' ) , $ this -> name_plural ) , ] ; return $ messages ; }
Sets term updated messages for custom taxonomies.

Check out the `term_updated_messages` in wp-admin/includes/edit-tag-messages.php.

@param array $messages An associative array of taxonomies and their messages.

@return array The filtered messages.
Sets term updated messages for custom taxonomies .