source/php/Event.php
/**
     * Set list column content
     * @param  string  $column Column id
     * @param  integer $postId Column post id
     * @return void
     */
Set list column content
@param  string  $column Column id
@param  integer $postId Column post id
@return void
Set list column content @param string $column Column id @param integer $postId Column post id @return void
public static function listColumnContent($column, $postId)
    {
        switch ($column) {
            case 'event-start-date':
                echo get_field('event-date-start', $postId) ? date('Y-m-d \k\l\. H:i', strtotime(get_field('event-date-start', $postId))) : '';
                break;
            case 'event-end-date':
                echo get_field('event-date-end', $postId) ? date('Y-m-d \k\l\. H:i', strtotime(get_field('event-date-end', $postId))) : '';
                break;
        }
    }
public static function listColumnContent ( $ column , $ postId ) { switch ( $ column ) { case 'event-start-date' : echo get_field ( 'event-date-start' , $ postId ) ? date ( 'Y-m-d \k\l\. H:i' , strtotime ( get_field ( 'event-date-start' , $ postId ) ) ) : '' ; break ; case 'event-end-date' : echo get_field ( 'event-date-end' , $ postId ) ? date ( 'Y-m-d \k\l\. H:i' , strtotime ( get_field ( 'event-date-end' , $ postId ) ) ) : '' ; break ; } }
Set list column content
 @param  string  $column Column id
 @param  integer $postId Column post id
 @return void
Set list column content @param string $column Column id @param integer $postId Column post id @return void