get_id() ); // HPOS: Safe, uses custom table for subscription relations. if ( count( $histories ) > 0 ) : ?>
$histories, 'order' => $order, ) ); } } /** * Display content related subscriptions. * * @param mixed $order_post Current Order. * @param array $info Meta box Info. */ public function subscrpt_order_related( $order_post, $info ) { $histories = $info['args']['histories']; $order = $info['args']['order']; include 'views/related-subscriptions.php'; } }