$wpmem->email->to_user’s parameter is typo
-
Hi, I found typo!
api-email.php
function wpmem_email_to_user( $args, $password = null, $tag = null, $wpmem_fields = null, $field_data = null, $custom = null ) { global $wpmem; if ( is_array( $args ) ) { $user_id = $args['user_id']; $password = $args['password']; $tag = $args['tag']; $wpmem_fields = $args['wpmem_fields']; $field_data = $args['field_data']; $custom = $args['custom']; } else { $user_id = $args; } $wpmem->email->to_user( $user_id, $password, $toggle, $wpmem_fields, $field_data, $custom ); return; }
“toggle” is typo.
“toggle” need to change “$tag”
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘$wpmem->email->to_user’s parameter is typo’ is closed to new replies.