-
Notifications
You must be signed in to change notification settings - Fork 0
Subscriber Details
Michael Fitzpatrick-Ruth edited this page Dec 29, 2015
·
2 revisions
#Subscriber Details #####create_subscriber( $args, $generate_password = false );
argument | required? | datatype | default |
---|---|---|---|
args | yes | array | false (bool) |
args['first_name'] | yes | string | |
args['last_name'] | yes | string | |
args['email'] | no | string | |
args['password'] | no | string | generated password if generate_password is true, nothing, if false. |
args['source'] | no | string | wp_subscription_genius_api |
generate_password | no | bool | false (bool) |
Returns subscriber ID on success, or false on any failure.