WordPress at Your Fingertips
function is not described

WP_MS_Sites_List_Table::column_registered() public WP 4.3.0

Handles the registered column output.

{} It's a method of the class: WP_MS_Sites_List_Table{}

No Hooks.

Return

null. Nothing.

Usage

$WP_MS_Sites_List_Table = new WP_MS_Sites_List_Table();
$WP_MS_Sites_List_Table->column_registered( $blog );
$blog(array) (required)
Current site.

Notes

  • Global. String. $mode List table view mode.

Changelog

Since 4.3.0 Introduced.

Code of WP_MS_Sites_List_Table::column_registered() WP 5.8.2

public function column_registered( $blog ) {
	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'] );
	}
}