Guest User

Untitled

a guest
Sep 29th, 2015
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1.  
  2. $other_field = get_post_meta($this->post->ID, 'your_field', true);
  3. if (!empty($other_field)) {
  4. $td_post_video['td_video'] = $other_field;
  5. } else {
  6.  
  7. //if it's a video post...
  8. $td_post_video = get_post_meta($this->post->ID, 'td_post_video', true);
  9. $td_video_support = new td_video_support();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment