Skip to content

Instantly share code, notes, and snippets.

@vanaf1979
Last active October 8, 2019 08:30
Show Gist options
  • Save vanaf1979/0eff95f11e1b9a9d5596801232735f92 to your computer and use it in GitHub Desktop.
Save vanaf1979/0eff95f11e1b9a9d5596801232735f92 to your computer and use it in GitHub Desktop.
Gist for my article WordPress: Access post meta fields through WP_Post. https://vanaf1979.nl/wordpress-access-post-meta-fields-through-wp-post/
<?php echo get_post_meta( $post->ID , 'some_meta' , true ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment