Advertisement
mr_eldar

wp get custom field

Dec 11th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. $c2 = types_render_field('common-title', array_merge(array('post_id' => $course->ID)));
  2. $c4 = types_render_field('common-title', array('post_id' => $course->ID));
  3. $c = get_post_meta($course->ID, 'wpcf-common-title', true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement