ActionScheduler_ListTable::maybe_render_actions
Only display row actions for pending actions.
Method of the class: ActionScheduler_ListTable{}
No Hooks.
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->maybe_render_actions( $row, $column_name );
- $row(array) (required)
- Row to render.
- $column_name(string) (required)
- Current row.
ActionScheduler_ListTable::maybe_render_actions() ActionScheduler ListTable::maybe render actions code WC 10.7.0
protected function maybe_render_actions( $row, $column_name ) {
if ( 'pending' === strtolower( $row['status_name'] ) ) {
return parent::maybe_render_actions( $row, $column_name );
}
return '';
}