WordPress plugin for mail subscriptions [closed]
You can use this plugin http://wordpress.org/extend/plugins/s2member/
You can use this plugin http://wordpress.org/extend/plugins/s2member/
Is there a nice little filter that someone knows about where I can hook into notifications and send the notification to each / every administrator? There is : comment_post Runs just after a comment is saved in the database. Action function arguments: comment ID, approval status (“spam”, or 0/1 for disapproved/approved). http://codex.wordpress.org/Plugin_API/Action_Reference#Comment.2C_Ping.2C_and_Trackback_Actions And user_register which… … Read more
Your code works well when put in a page template, so what is currently wrong in your case most probably is the usage of the wrong hook in the wrong place. Just an example of how you can hook this: add_action(‘ahook’, ‘add_page_content_Send_Feed’); //add this after your function definition Then you can use this in any … Read more
WordPress uses the wp_mail() function to send mail. It says on the Codex article there that: For this function to work, the settings SMTP and smtp_port (default: 25) need to be set in your php.ini file. Also be sure to check that your contact form is sending the required parameters to the wp_mail() function. The … Read more
To change the heading that appears in the body (message) of the email template you can use the following filter: ‘woocommerce_email_heading_’ . $this->id where $this->id equates to the id class property that is set within the email class of the specified type. For example, to change the heading of the “New Order” email you would … Read more
Try this instead: add_action( “woocommerce_email_after_order_table”, “my_woocommerce_email_after_order_table”, 10, 1); function my_woocommerce_email_after_order_table( $order ) { $my_gift_wrap_checkbox = get_post_meta( $order->id, “my_gift_wrap_checkbox”, true ); $gift_wrap = $my_gift_wrap_checkbox ? ‘Yes please!’ : ‘No thank you.’; echo ‘<p><strong>Gift wrap?: </strong>’ . $gift_wrap . ‘</p>’; if ( $my_gift_wrap_checkbox ) { echo ‘<p><strong>Gift wrap instructions: </strong>’ . get_post_meta( $order->id, “my_gift_wrap_field”, true ) . … Read more
I think you missing function argument. just try it. add_filter(‘wp_mail_content_type’,’set_content_type’); function set_content_type($content_type){ return ‘text/html’; }
(I know this is a late answer, so the original poster has probably moved on from this. But I am posting an answer to this in hopes that it will help later users solve their issue, should they happen along to this question.) The first step is understanding how email works in WordPress. WP will … Read more
The email address that emails such as new user notification or password resets come “from” is not the same as the site’s admin email. While it’s possible to have the actual email address be the same for both of these, they are completely unrelated to each other. In WP’s Settings > General, the “Administration Email … Read more
It’s not really a WP-specific solution, but if you set up a Gmail address (and likely others), you could create a filter to automatically forward notifications generated by WordPress to other admins. Short of WordPress adding multi-email notifications, that might be a workaround to temporarily solve the problem.