public function url($params = array()) { $url = parent::url($params); // Payments API redirects to this page including this two parameters. // Those URL paramters are necessary only to *arrive* to the Payment // Completed step page for the first time. The same parameters are // then passed in the POST requests. return remove_query_arg(array('step', 'transaction_id'), $url); }
public function __construct($page = 'awpcp-reply-to-ad', $title = null) { parent::__construct($page, is_null($title) ? __('Reply to Ad', 'AWPCP') : $title); }
public function __construct($page = 'awpcp-browse-ads', $title = null) { $title = is_null($title) ? __('Browse Ads', 'AWPCP') : $title; parent::__construct($page, $title); }
public function __construct($page, $title, $menu) { parent::__construct($page, $title); $this->menu = $menu; }
public function __construct($page = 'awpcp-search-ads', $title = null) { parent::__construct($page, is_null($title) ? __('Search Ads', 'AWPCP') : $title); }