$ctx The license delivery context. * @return string The subject line. */ public function subject( array $ctx ): string { $store = (string) ( $ctx['store_name'] ?? '' ); $product = (string) ( $ctx['product_name'] ?? '' ); return sprintf( /* translators: 1: the store name, 2: the product name. */ __( '%1$s: your license key for %2$s', 'releasecart' ), $store, $product ); } }