WP_MS_Sites_List_Table::column_lastupdated( array $blog )

Handles the lastupdated column output.


Description Description


Parameters Parameters

$blog

(array) (Required) Current site.


Top ↑

Source Source

File: wp-admin/includes/class-wp-ms-sites-list-table.php

	public function column_lastupdated( $blog ) {
		global $mode;

		if ( 'list' === $mode ) {
			$date = __( 'Y/m/d' );
		} else {
			$date = __( 'Y/m/d g:i:s a' );
		}

		echo ( $blog['last_updated'] === '0000-00-00 00:00:00' ) ? __( 'Never' ) : mysql2date( $date, $blog['last_updated'] );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.