関数
Review::getFormRedirectInputs()
Returns hidden inputs for confirm page redirect route
戻り値 戻り値
ファイル: src/Views/ConfirmPageReview/Review.php
public function getFormRedirectInputs() { $key = WordPressRequestKeyRouteCollector::ROUTE_KEY; $reqroute = isset($_REQUEST[$key]) ? rawurldecode($_REQUEST[$key]) : ''; $sessionId = isset($_REQUEST['amazonCheckoutSessionId']) ? $_REQUEST['amazonCheckoutSessionId'] : ''; ob_start(); ?> <input type="hidden" name="<?php echo WordPressRequestKeyRouteCollector::ROUTE_KEY ?>" value="<?php echo rawurlencode($reqroute) ?>" /> <input type="hidden" name="amazonCheckoutSessionId" value="<?php echo esc_attr($sessionId); ?>" /> <?php return ob_get_clean(); }