Skip to content

Instantly share code, notes, and snippets.

@flegfleg
Created May 18, 2014 22:09
Show Gist options
  • Save flegfleg/d54beef91d9c40849158 to your computer and use it in GitHub Desktop.
Save flegfleg/d54beef91d9c40849158 to your computer and use it in GitHub Desktop.
WP get CMB field value
$value = get_post_meta( $post->ID, '_cmb_FIELDNAME', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment