Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Gist for my article WordPress: Access post meta fields through WP_Post. https://vanaf1979.nl/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
You can’t perform that action at this time.