samtime
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Admin Bar hidden for bbPress Moderators after 4.6.1 updateYes, got the following solution from a friend and it seems to work!
Posting the updated code here incase others have the same problem:add_filter('woocommerce_disable_admin_bar', '_wc_disable_admin_bar', 10, 1); function _wc_disable_admin_bar($prevent_admin_access) { if (!current_user_can("keymaster") && !current_user_can("bbp_moderator") ) { return $prevent_admin_access; } return false; }
Forum: Plugins
In reply to: [The Events Calendar] Show Event in Viewer’s Local TimezoneHi @iammarta ,
Just checking, does the “Virtual Events” add on, or Pro version of the plug in add this functionality?Otherwise, would be awesome to see in a possible future update.
Best, SamForum: Plugins
In reply to: [CF7 Google Sheets Connector] CF7 Google Sheet Connector Version 4.0 UpdatesGot the plugin working, but can’t dismiss the Dashboard notification about the update.
Clicking “Yes, I have done” or “Remind me later” does nothing.
Clicking the X dismisses the notification once, but it appears on refresh.Forum: Plugins
In reply to: [bbPress - Moderation Tools] Notification Emails Reveal all Email AddressI found some information about using BCC for WordPress emails.
Would modifying this WooCommerce code to make it relevant for the Moderator Notifications work…/** * @snippet Add Cc: or Bcc: Recipient @ WooCommerce Completed Order Email * @how-to Get CustomizeWoo.com FREE * @author Rodolfo Melogli * @compatible WooCommerce 3.8 * @donate $9 https://businessbloomer.com/bloomer-armada/ */ add_filter( 'woocommerce_email_headers', 'bbloomer_order_completed_email_add_cc_bcc', 9999, 3 ); function bbloomer_order_completed_email_add_cc_bcc( $headers, $email_id, $order ) { if ( 'customer_completed_order' == $email_id ) { $headers .= "Cc: Name <[email protected]>" . "\r\n"; // del if not needed $headers .= "Bcc: Name <[email protected]>" . "\r\n"; // del if not needed } return $headers; }
https://businessbloomer.com/woocommerce-add-to-cc-bcc-order-email-recipients/