Closed chuckreynolds closed 2 years ago
playing around notes:
function init() {
$post_type = get_post_type();
add_filter( "manage_{$post_type}_posts_columns", array( $this, 'columns' ) );
add_action( "manage_{$post_type}_posts_custom_column", array( $this, 'column_data' ), 10, 2 );
}
Example: add_col(post_type,meta_data);
Have the ability to add cols to any post type