LLMS_Payment_Gateway_Manual::before_view_order_table()
Output payment instructions if the order is pending
Description Description
Return Return
(void)
Source Source
File: includes/class.llms.gateway.manual.php
public function before_view_order_table() { global $wp; if ( ! empty( $wp->query_vars['orders'] ) ) { $order = new LLMS_Order( intval( $wp->query_vars['orders'] ) ); if ( 'manual' === $order->get( 'payment_gateway' ) && in_array( $order->get( 'status' ), array( 'llms-pending', 'llms-on-hold' ) ) ) { echo $this->get_payment_instructions(); } } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: