Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michael-cannon/6333181 to your computer and use it in GitHub Desktop.
Save michael-cannon/6333181 to your computer and use it in GitHub Desktop.
Filter `custom_bulkquick_edit_manage_posts_custom_column_field_type`. Customize post type column contents by `field_type`.
<?php
add_filter( 'custom_bulkquick_edit_manage_posts_custom_column_field_type', 'manage_posts_custom_column_field_type', 10, 4 );
public function manage_posts_custom_column_field_type( $current, $field_type, $column, $post_id ) {
$result = '';
switch ( $field_type ) {
case 'date':
$result = $current;
break;
}
return $result;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment