/ Published in: PHP
Populate Fields from Post Data Add this to functions.php
Expand |
Embed | Plain Text
add_filter("gform_field_value_cname", "populate_cname"); function populate_cname($value){ global $post; $cname = get_post_meta($post->ID, 'firstname', true); return $cname; }
You need to login to post a comment.
