Send email notifications to a defined email address depending if a product in order has a specific TAG [closed]

To check product has TAG or not you have to fetch product from order and search in them. //Custom NEW ORDER Email address depending on Product Tag add_filter( ‘woocommerce_email_recipient_new_order’, ‘new_order_conditional_email_recipient’, 10, 2 ); function new_order_conditional_email_recipient( $recipient, $order ) { if ( ! is_a( $order, ‘WC_Order’ ) ) return $recipient; // (Optional) // Get the order … Read more

Does WordPress require port 25 for email?

WordPress sends emails via the wp_mail() method, which, by default, needs port 25 to be enabled in your php.ini settings: For this function to work, the settings SMTP and smtp_port (default: 25) need to be set in your php.ini file. You will have to change this setting if you would want to send mails via … Read more

reply via email link under each post

In theory, it can. There’s lots of bots out there looking specifically for mailto links. That’s why a lot of people obfuscate those links and with some cooked up or framework javascript put it back together on click. But a very clever bot could simulate that even. It’s a cost and benefits question. Do you … Read more

Confirmation required on users email change

As far as I know, the confirmation sent to change the profile email is an ‘admin-only’ thing. Is there any way to make it work for users too? I’m using WordPress update 6 As far as I understand, this was additionally implemented, in ticket #16470 few years ago, for all single site users that try … Read more