Created
October 8, 2014 14:04
-
-
Save kristianb21/f4c04007862d6e0b70e4 to your computer and use it in GitHub Desktop.
wp wp-types get parent id
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
$parent = get_post(wpcf_pr_post_get_belongs('child-id','parent')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment