Advertisement
Guest User

Untitled

a guest
May 27th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. <?php
  2.  
  3. $fields["field_image"]->content = '<image:loc>' . $field->original_value . '</image:loc>';
  4.  
  5. echo $fields["field_image"]->content;
  6.  
  7. <image:loc>http://www.domaine.com/xxx.jpg</image:loc>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement