$input Unslashed request parameters. * @param FormContext $context Form context. * @return mixed|\WP_Error Value, null when left empty, or an error whose data names the input. */ public function parse( array $input, FormContext $context ); /** * Store a parsed value on a review. * * @param int $comment_id Review id. * @param mixed $value Parsed value. * @param FormContext $context Form context. */ public function save( int $comment_id, $value, FormContext $context ): void; /** * Stored value, to pre-fill the form when a reviewer edits a review. * * @param int $comment_id Review id. * @return mixed */ public function load( int $comment_id ); }