public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/gateway-paypal.php
/**
	 * IPN Subscription: Validate Transaction Type.
	 *
	 * @since 4.3.0
	 *
	 * @param string $txn_type The transaction type.
	 *
	 * @return bool True if validated and false otherwise.
	 */
IPN Subscription: Validate Transaction Type.

@param string $txn_type The transaction type.

@return bool True if validated and false otherwise.
IPN Subscription : Validate Transaction Type . @param string $txn_type The transaction type . @return bool True if validated and false otherwise .
public function ipn_subscription_validate_transaction_type( $txn_type ) {
		if ( ! in_array( strtolower( $txn_type ), $this->ipn_subscription_get_valid_transaction_types(), true ) ) {
			$this->log( sprintf( __( 'Aborting, Invalid or Unknown IPN Subscription Type: %s', 'wp-courseware' ), $txn_type ) );
			return false;
		}
		return true;
	}
public function ipn_subscription_validate_transaction_type ( $ txn_type ) { if ( ! in_array ( strtolower ( $ txn_type ) , $ this -> ipn_subscription_get_valid_transaction_types ( ) , true ) ) { $ this -> log ( sprintf ( __ ( 'Aborting, Invalid or Unknown IPN Subscription Type: %s' , 'wp-courseware' ) , $ txn_type ) ) ; return false ; } return true ; }
IPN Subscription: Validate Transaction Type.
IPN Subscription : Validate Transaction Type .