InstructorsList::column_total_course( $item )
Source
File: classes/InstructorsList.php
function column_total_course( $item ) { global $wpdb; $total_course = (int) $wpdb->get_var( "select count(ID) from {$wpdb->posts} WHERE post_author={$item->ID} AND post_type = 'dozent_course' " ); echo $total_course; }