dozent_get_withdraw_method_by_user( int $user_id )

Get the withdraw method data saved by an user


Description

See also


Parameters

$user_id

(int) (Required)


Return

(bool|mixed)


Source

File: includes/core-functions.php

	function dozent_get_withdraw_method_by_user( $user_id = 0 ) {
		$user_id = dozent_get_user_id( $user_id );

		$account = get_user_meta( $user_id, '_dozent_withdraw_method_data', true );
		if ( $account ) {
			return maybe_unserialize( $account );
		}

		return false;
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.