Created
August 25, 2013 10:37
-
-
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`.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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