Handles the status column output.
Description
See also
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
Version | Description |
---|---|
1.0.0 | Introduced. |