Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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