Created
December 15, 2021 00:45
-
-
Save dubpirate/6a48190dcba0c295cb415409a7ad35bc to your computer and use it in GitHub Desktop.
Accessing SPNet fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // There does not seem to be any documentation for spnet so I thought I would through this up. ?> | |
<?php echo get_post_meta($post->ID, 'spnet_XXXXXX', true); ?> | |
<?php // get_post_meta docs: https://developer.wordpress.org/reference/functions/get_post_meta/ ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment