parent = $parent; } public function nonceAction(): string { return 'abj404undoRegexAutoPromote'; } public function nonceArg(): string { return '_wpnonce'; } public function useCheckAdminReferer(): bool { return true; } public function handle(string $action, string &$sub): string { return $this->parent->handleActionUndoRegexAutoPromote(); } }