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