source/php/ModuleManager.php
public function setupListTableField($slug)
    {
        add_filter('manage_edit-' . $slug . '_columns', array($this, 'listTableColumns'));
        add_action('manage_' . $slug . '_posts_custom_column', array($this, 'listTableColumnContent'), 10, 2);
        add_filter('manage_edit-' . $slug . '_sortable_columns', array($this, 'listTableColumnSorting'));
    }
public function setupListTableField($slug)
    {
        add_filter('manage_edit-' . $slug . '_columns', array($this, 'listTableColumns'));
        add_action('manage_' . $slug . '_posts_custom_column', array($this, 'listTableColumnContent'), 10, 2);
        add_filter('manage_edit-' . $slug . '_sortable_columns', array($this, 'listTableColumnSorting'));
    }
public function setupListTableField ( $ slug ) { add_filter ( 'manage_edit-' . $ slug . '_columns' , array ( $ this , 'listTableColumns' ) ) ; add_action ( 'manage_' . $ slug . '_posts_custom_column' , array ( $ this , 'listTableColumnContent' ) , 10 , 2 ) ; add_filter ( 'manage_edit-' . $ slug . '_sortable_columns' , array ( $ this , 'listTableColumnSorting' ) ) ; }
Setup list table fields
@return void
Setup list table fields