Skip to content

Instantly share code, notes, and snippets.

@engelen
Created April 15, 2014 12:32
Show Gist options
  • Save engelen/10728725 to your computer and use it in GitHub Desktop.
Save engelen/10728725 to your computer and use it in GitHub Desktop.
<?php
add_filter( 'cac/column/meta/value', 'myplugin_column_meta_value', 10, 4 ); // Meta (custom field) columns for all content types
function myplugin_column_meta_value( $value, $object_id, $column, $storage_type ) {
// Possibly modify $value
return $value;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment