Skip to content

Instantly share code, notes, and snippets.

Last active October 8, 2019 08:30
What would you like to do?
Gist for my article WordPress: Access post meta fields through WP_Post.
<?php add_post_meta( $post->ID , 'some_meta_field' , 'some_value' ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment