Dozent LMS developer documentation

  • Go To DozentLMS.com
Skip to content
Filter by type:
Search
Browse: Home / Classes / WithdrawalsList / WithdrawalsList::column_default()

WithdrawalsList::column_default( $item,  $column_name )


Source

File: classes/WithdrawalsList.php

	function column_default( $item, $column_name ) {
		switch ( $column_name ) {
			case 'testing_col':
				return $item->$column_name;
			default:
				return print_r( $item, true ); //Show the whole array for troubleshooting purposes
		}
	}

Expand full source code Collapse full source code

© 2023, Dozent LMS