Skip to content

Commit

Permalink
Merge pull request #57 from ldani3l/master
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesnowden authored Jan 24, 2024
2 parents 1ff1eee + 8e8b33b commit 5b51e34
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/LukeSnowden/GoogleShoppingFeed/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@ public function short_title($short_title)
$this->nodes['short_title'] = $node->value($short_title)->_namespace($this->namespace)->addCdata();
}

/**
* @param $mobile_link
*/
public function mobile_link($mobile_link)
{
$node = new Node('mobile_link');
$link = $this->safeCharEncodeURL($mobile_link);
$this->nodes['mobile_link'] = $node->value($mobile_link)->_namespace($this->namespace)->addCdata();
}

/**
* @param $link
*/
Expand Down

0 comments on commit 5b51e34

Please sign in to comment.