コード例 #1
0
ファイル: page-place-ad.php プロジェクト: sabdev1/ljcdevsab
 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);
 }
コード例 #2
0
 public function __construct($page = 'awpcp-reply-to-ad', $title = null)
 {
     parent::__construct($page, is_null($title) ? __('Reply to Ad', 'AWPCP') : $title);
 }
コード例 #3
0
ファイル: page-browse-ads.php プロジェクト: sabdev1/ljcdevsab
 public function __construct($page = 'awpcp-browse-ads', $title = null)
 {
     $title = is_null($title) ? __('Browse Ads', 'AWPCP') : $title;
     parent::__construct($page, $title);
 }
コード例 #4
0
ファイル: admin-page.php プロジェクト: sabdev1/ljcdevsab
 public function __construct($page, $title, $menu)
 {
     parent::__construct($page, $title);
     $this->menu = $menu;
 }
コード例 #5
0
ファイル: page-search-ads.php プロジェクト: sabdev1/ljcdevsab
 public function __construct($page = 'awpcp-search-ads', $title = null)
 {
     parent::__construct($page, is_null($title) ? __('Search Ads', 'AWPCP') : $title);
 }