2017 © Pedro Peláez
 

library cpt_columns

Improve the CPT list in the backend for your CPTs

image

wpbp/cpt_columns

Improve the CPT list in the backend for your CPTs

  • Wednesday, September 6, 2017
  • by Mte90
  • Repository
  • 2 Watchers
  • 5 Stars
  • 297 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 5 % Grown

The README.md

CPT Columns

License Downloads, (*1)

Improve the CPT list in the backend for your CPTs, (*2)

Install

composer require wpbp/cpt_columns:dev-master, (*3)

composer-php52 supported., (*4)

Example

$post_columns = new CPT_columns( 'demo' );
$post_columns->add_column( 'cmb2_field', array(
    'label' => __( 'CMB2 Field' ),
    'type' => 'post_meta', //text, thumbnail, post_meta, author, custom_tax, custom_value
    'meta_key' => '_demo_meta_text',
    'orderby' => 'meta_value', // For WP-Query
    'sortable' => true,
    'prefix' => '<b>',
    'suffix' => '</b>',
    'def' => 'Not defined', // Default value in case post meta not found
    'order' => '-1' // This is the last column
    )
);

The Versions

06/09 2017

dev-master

9999999-dev https://github.com/WPBP/CPT_Columns

Improve the CPT list in the backend for your CPTs

  Sources   Download

GPL-3.0

wordpress post custom post type

06/09 2017

1.0.1

1.0.1.0 https://github.com/WPBP/CPT_Columns

Improve the CPT list in the backend for your CPTs

  Sources   Download

GPL-3.0

wordpress post custom post type

02/07 2016

1.0.0

1.0.0.0 https://github.com/WPBP/CPT_Columns

Improve the CPT list in the backend for your CPTs

  Sources   Download

GPL-3.0

wordpress post custom post type