You appear to be a bot. Output may be restricted
Description
Display a custom column for a post
Usage
bw_custom_column( $column, $post_id );
Parameters
- $column
- ( string ) required – the name of the field being formatted
- $post_id
- ( ID ) required – the ID of the post being displayed
Returns
voidSource
File name: oik/libs/bw_fields.phpLines:
1 to 9 of 9
function bw_custom_column( $column, $post_id ) { $type = bw_query_field_type( $column ); if ( $type === "taxonomy" ) { $value = bw_custom_column_taxonomy( $column, $post_id ); } else { $value = bw_custom_column_post_meta( $column, $post_id ); } return $value; }View on GitHub View on Trac