user = $user; $this->post_type = $post_type; $this->language = $language; $this->editor = $editor; } /** * Returns the user. * * @return WP_User The user. */ public function get_user(): WP_User { return $this->user; } /** * Returns the post type. * * @return string The post type. */ public function get_post_type(): string { return $this->post_type; } /** * Returns the language. * * @return string The language. */ public function get_language(): string { return $this->language; } /** * Returns the editor. * * @return string The editor. */ public function get_editor(): string { return $this->editor; } }