LLMS_Payment_Gateway::get_admin_order_fields()

Get data about the fields displayed on the admin panel when viewing an order processed via this gateway


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.payment.gateway.php

	public function get_admin_order_fields() {
		$fields = array(
			'customer' => array(
				'label' => __( 'Customer ID', 'lifterlms' ),
				'enabled' => $this->admin_order_fields['customer'],
				'name' => 'gateway_customer_id',
			),
			'source' => array(
				'label' => __( 'Source ID', 'lifterlms' ),
				'enabled' => $this->admin_order_fields['source'],
				'name' => 'gateway_source_id',
			),
			'subscription' => array(
				'label' => __( 'Subscription ID', 'lifterlms' ),
				'enabled' => $this->admin_order_fields['subscription'],
				'name' => 'gateway_subscription_id',
			),
		);
		return apply_filters( 'llms_get_gateway_admin_order_fields', $fields, $this->id );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.10.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.