@@ 1763-1772 (lines=10) @@ | ||
1760 | * @access public |
|
1761 | * @return string |
|
1762 | */ |
|
1763 | public function txn_page_url($query_args = array()) |
|
1764 | { |
|
1765 | if (! $this->txn_page_url) { |
|
1766 | $this->txn_page_url = get_permalink($this->txn_page_id); |
|
1767 | } |
|
1768 | if ($query_args) { |
|
1769 | return add_query_arg($query_args, $this->txn_page_url); |
|
1770 | } else { |
|
1771 | return $this->txn_page_url; |
|
1772 | } |
|
1773 | } |
|
1774 | ||
1775 | ||
@@ 1784-1793 (lines=10) @@ | ||
1781 | * @access public |
|
1782 | * @return string |
|
1783 | */ |
|
1784 | public function thank_you_page_url($query_args = array()) |
|
1785 | { |
|
1786 | if (! $this->thank_you_page_url) { |
|
1787 | $this->thank_you_page_url = get_permalink($this->thank_you_page_id); |
|
1788 | } |
|
1789 | if ($query_args) { |
|
1790 | return add_query_arg($query_args, $this->thank_you_page_url); |
|
1791 | } else { |
|
1792 | return $this->thank_you_page_url; |
|
1793 | } |
|
1794 | } |
|
1795 | ||
1796 |