src/class-extended-cpt-admin.php
public function bulk_post_updated_messages( array $messages, array $counts ) : array {

		$messages[ $this->cpt->post_type ] = [
			'updated' => sprintf(
				self::n( '%2$s updated.', '%1$s %3$s updated.', $counts['updated'] ),
				esc_html( number_format_i18n( $counts['updated'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
			'locked' => sprintf(
				self::n( '%2$s not updated, somebody is editing it.', '%1$s %3$s not updated, somebody is editing them.', $counts['locked'] ),
				esc_html( number_format_i18n( $counts['locked'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
			'deleted' => sprintf(
				self::n( '%2$s permanently deleted.', '%1$s %3$s permanently deleted.', $counts['deleted'] ),
				esc_html( number_format_i18n( $counts['deleted'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
			'trashed' => sprintf(
				self::n( '%2$s moved to the trash.', '%1$s %3$s moved to the trash.', $counts['trashed'] ),
				esc_html( number_format_i18n( $counts['trashed'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
			'untrashed' => sprintf(
				self::n( '%2$s restored from the trash.', '%1$s %3$s restored from the trash.', $counts['untrashed'] ),
				esc_html( number_format_i18n( $counts['untrashed'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
		];

		return $messages;

	}
public function bulk_post_updated_messages( array $messages, array $counts ) : array {

		$messages[ $this->cpt->post_type ] = [
			'updated' => sprintf(
				self::n( '%2$s updated.', '%1$s %3$s updated.', $counts['updated'] ),
				esc_html( number_format_i18n( $counts['updated'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
			'locked' => sprintf(
				self::n( '%2$s not updated, somebody is editing it.', '%1$s %3$s not updated, somebody is editing them.', $counts['locked'] ),
				esc_html( number_format_i18n( $counts['locked'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
			'deleted' => sprintf(
				self::n( '%2$s permanently deleted.', '%1$s %3$s permanently deleted.', $counts['deleted'] ),
				esc_html( number_format_i18n( $counts['deleted'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
			'trashed' => sprintf(
				self::n( '%2$s moved to the trash.', '%1$s %3$s moved to the trash.', $counts['trashed'] ),
				esc_html( number_format_i18n( $counts['trashed'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
			'untrashed' => sprintf(
				self::n( '%2$s restored from the trash.', '%1$s %3$s restored from the trash.', $counts['untrashed'] ),
				esc_html( number_format_i18n( $counts['untrashed'] ) ),
				esc_html( $this->cpt->post_singular ),
				esc_html( $this->cpt->post_plural_low )
			),
		];

		return $messages;

	}
public function bulk_post_updated_messages ( array $ messages , array $ counts ) : array { $ messages [ $ this -> cpt -> post_type ] = [ 'updated' => sprintf ( self :: n ( '%2$s updated.' , '%1$s %3$s updated.' , $ counts [ 'updated' ] ) , esc_html ( number_format_i18n ( $ counts [ 'updated' ] ) ) , esc_html ( $ this -> cpt -> post_singular ) , esc_html ( $ this -> cpt -> post_plural_low ) ) , 'locked' => sprintf ( self :: n ( '%2$s not updated, somebody is editing it.' , '%1$s %3$s not updated, somebody is editing them.' , $ counts [ 'locked' ] ) , esc_html ( number_format_i18n ( $ counts [ 'locked' ] ) ) , esc_html ( $ this -> cpt -> post_singular ) , esc_html ( $ this -> cpt -> post_plural_low ) ) , 'deleted' => sprintf ( self :: n ( '%2$s permanently deleted.' , '%1$s %3$s permanently deleted.' , $ counts [ 'deleted' ] ) , esc_html ( number_format_i18n ( $ counts [ 'deleted' ] ) ) , esc_html ( $ this -> cpt -> post_singular ) , esc_html ( $ this -> cpt -> post_plural_low ) ) , 'trashed' => sprintf ( self :: n ( '%2$s moved to the trash.' , '%1$s %3$s moved to the trash.' , $ counts [ 'trashed' ] ) , esc_html ( number_format_i18n ( $ counts [ 'trashed' ] ) ) , esc_html ( $ this -> cpt -> post_singular ) , esc_html ( $ this -> cpt -> post_plural_low ) ) , 'untrashed' => sprintf ( self :: n ( '%2$s restored from the trash.' , '%1$s %3$s restored from the trash.' , $ counts [ 'untrashed' ] ) , esc_html ( number_format_i18n ( $ counts [ 'untrashed' ] ) ) , esc_html ( $ this -> cpt -> post_singular ) , esc_html ( $ this -> cpt -> post_plural_low ) ) , ] ; return $ messages ; }
Add our bulk post type updated messages.

The messages are as follows:

- updated   => "Post updated." | "[n] posts updated."
- locked    => "Post not updated, somebody is editing it." | "[n] posts not updated, somebody is editing them."
- deleted   => "Post permanently deleted." | "[n] posts permanently deleted."
- trashed   => "Post moved to the trash." | "[n] posts moved to the trash."
- untrashed => "Post restored from the trash." | "[n] posts restored from the trash."

@param  array $messages An associative array of bulk post updated messages with post type as keys.
@param  array $counts   An array of counts for each key in `$messages`.
@return array           Updated array of bulk post updated messages.
Add our bulk post type updated messages .