Submissions_List_Table::column_status( awsmug\Torro_Forms\DB_Objects\Submissions\Submission $submission )

Handles the status column output.

Description

Parameters

$submission

(awsmug\Torro_Forms\DB_Objects\Submissions\Submission) (Required) The current submission object.

Source

File: src/db-objects/submissions/submissions-list-table.php

	public function column_status( $submission ) {
		if ( 'completed' === $submission->status ) {
			echo '<strong>' . _x( 'Completed', 'submission status label', 'torro-forms' ) . '</strong>';
		} elseif ( 'progressing' === $submission->status ) {
			_ex( 'In Progress', 'submission status label', 'torro-forms' );
		}
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.