Send sms to specific user
-
Hi there great plugin, I would love to send custom sms to users when custom emails are sent too an example of the fuction sending custom emails is below:
function bid_mail( $bid_id ) { $project_id = get_post_field( 'post_parent', $bid_id ); $post_author = get_post_field( 'post_author', $project_id ); $author = get_userdata( $post_author ); if ( $author ) { $message = ae_get_option( 'bid_mail_template' ); $bid_msg = get_post_field( 'post_content', $bid_id ); $message = str_replace( '[message]', $bid_msg, $message ); $subject = sprintf( __( "Your project posted on %s has a new bid.", ET_DOMAIN ), get_option( 'blogname' ) ); return $this->wp_mail( $author->user_email, $subject, $message, array( 'post' => $project_id, 'user_id' => $post_author ), '' ); } return false; }
The page I need help with: [log in to see the link]
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Send sms to specific user’ is closed to new replies.