コード例 #1
0
ファイル: ClonePost.php プロジェクト: dtwist/wp-nested-pages
 public function __construct()
 {
     parent::__construct();
     $this->cloner = new PostCloner();
     $this->setPostID();
     $this->clonePost();
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->validateFields();
     $this->saveRedirect();
     $this->syncMenu();
     $this->sendResponse();
 }
コード例 #3
0
ファイル: NewChild.php プロジェクト: dtwist/wp-nested-pages
 public function __construct()
 {
     parent::__construct();
     $this->factory = new PostFactory();
     $this->validation = new Validation();
     $this->savePages();
     $this->syncMenu();
     $this->sendResponse();
 }
コード例 #4
0
ファイル: NestToggle.php プロジェクト: dtwist/wp-nested-pages
 public function __construct()
 {
     parent::__construct();
     $this->updateUserMeta();
 }