@@ 1630-1639 (lines=10) @@ | ||
1627 | * @access public |
|
1628 | * @return string |
|
1629 | */ |
|
1630 | public function txn_page_url($query_args = array()) { |
|
1631 | if ( ! $this->txn_page_url ) { |
|
1632 | $this->txn_page_url = get_permalink( $this->txn_page_id ); |
|
1633 | } |
|
1634 | if($query_args){ |
|
1635 | return add_query_arg($query_args,$this->txn_page_url); |
|
1636 | }else{ |
|
1637 | return $this->txn_page_url; |
|
1638 | } |
|
1639 | } |
|
1640 | /** |
|
1641 | * gets/returns URL for EE thank_you_page |
|
1642 | * @param array $query_args like what gets passed to |
|
@@ 1647-1656 (lines=10) @@ | ||
1644 | * @access public |
|
1645 | * @return string |
|
1646 | */ |
|
1647 | public function thank_you_page_url($query_args = array()) { |
|
1648 | if ( ! $this->thank_you_page_url ) { |
|
1649 | $this->thank_you_page_url = get_permalink( $this->thank_you_page_id ); |
|
1650 | } |
|
1651 | if($query_args){ |
|
1652 | return add_query_arg($query_args,$this->thank_you_page_url); |
|
1653 | }else{ |
|
1654 | return $this->thank_you_page_url; |
|
1655 | } |
|
1656 | } |
|
1657 | /** |
|
1658 | * gets/returns URL for EE cancel_page |
|
1659 | * |