Noptin_Abstract_Ecommerce_Integration::get_order_subscriber( int $order_id )

Returns a subcriber id responsible for a payment.

Parameters Parameters


(int) (Required) The order id.

Top ↑

Return Return

(int|null) The subscriber id.

Top ↑

Source Source

File: includes/integrations/class-noptin-abstract-ecommerce-integration.php

	public function get_order_subscriber( $order_id ) {

		// Fetch the payment.
		$email = $this->get_order_customer_email( $order_id );
		if ( empty( $email ) ) {
			return null;

		return get_noptin_subscriber_id_by_email( $email );


Top ↑

Changelog Changelog


Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation