WP_MS_Sites_List_Table::column_registered

Advertisement

Summery Summery

Handles the registered column output.

Syntax Syntax

WP_MS_Sites_List_Table::column_registered( array $blog )

Parameters Parameters

$blog

(Required) Current site.

Source Source

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

		global $mode;

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

		if ( '0000-00-00 00:00:00' === $blog['registered'] ) {
			echo '—';
		} else {
			echo mysql2date( $date, $blog['registered'] );
		}
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply