grunion_post_type_columns_filter

The Jetpack by WordPress.com grunion post type columns filter function.

Description

grunion_post_type_columns_filter( $cols ); 

Parameters (1)

0. $cols
The cols.

Usage

  1. if ( !function_exists( 'grunion_post_type_columns_filter' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/contact-form/admin.php'; 
  3.  
  4. // The cols. 
  5. $cols = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = grunion_post_type_columns_filter($cols); 
  9.  

Defined (1)

The function is defined in the following location(s).

/modules/contact-form/admin.php  
  1. function grunion_post_type_columns_filter( $cols ) { 
  2. $cols = array( 
  3. 'cb' => '<input type="checkbox" />',  
  4. 'feedback_from' => __( 'From', jetpack ),  
  5. 'feedback_message' => __( 'Message', jetpack ),  
  6. 'feedback_date' => __( 'Date', jetpack ) 
  7. ); 
  8.  
  9. return $cols;