/home/techb158/public_html/wp-content/plugins/kirki/app/Http/Controllers/Api
NameSizeModeActions
AppsController.php27720644editdlrm
CollaborationCommentController.php54700644editdlrm
CollaborationController.php11220644editdlrm
CollectionController.php31420644editdlrm
CollectionItemController.php45150644editdlrm
EditorController.php14120644editdlrm
FormController.php8950644editdlrm
GlobalDataController.php41650644editdlrm
MediaController.php9630644editdlrm
PageController.php105540644editdlrm
PageSettingsController.php15230644editdlrm
PostController.php14140644editdlrm
UserController.php11220644editdlrm
Edit: /home/techb158/public_html/wp-content/plugins/kirki/app/Http/Controllers/Api/EditorController.php (1412B)
service = $service; } public function back_to_kirki_editor(Request $request) { $page = PageModel::exclude_trash()->find($request->int('postId')); if (empty($page)) { throw new Exception(esc_html__('Page not found.', 'kirki'), Response::NOT_FOUND); } $this->service->back_to_kirki_editor($page, $request->string('post_title')); return response()->json([ 'data' => [ 'status' => true ], ]); } public function back_to_wordpress_editor(Request $request) { $page = PageModel::exclude_trash()->find($request->int('postId')); if (empty($page)) { throw new Exception(esc_html__('Page not found.', 'kirki'), Response::NOT_FOUND); } $this->service->back_to_wordpress_editor($page); return response()->json([ 'data' => [ 'status' => true ], ]); } }