ActionScheduler_ListTable::column_args()
Serializes the argument of an action to render it in a human friendly format.
Метод класса: ActionScheduler_ListTable{}
Хуки из метода
Возвращает
Строку
.
Использование
$ActionScheduler_ListTable = new ActionScheduler_ListTable(); $ActionScheduler_ListTable->column_args( $row );
- $row(массив) (обязательный)
- The array representation of the current row of the table
Код ActionScheduler_ListTable::column_args() ActionScheduler ListTable::column args WC 7.7.0
public function column_args( array $row ) { if ( empty( $row['args'] ) ) { return apply_filters( 'action_scheduler_list_table_column_args', '', $row ); } $row_html = '<ul>'; foreach ( $row['args'] as $key => $value ) { $row_html .= sprintf( '<li><code>%s => %s</code></li>', esc_html( var_export( $key, true ) ), esc_html( var_export( $value, true ) ) ); } $row_html .= '</ul>'; return apply_filters( 'action_scheduler_list_table_column_args', $row_html, $row ); }