Change @WordPress from email address and from name sent out from website

Change Default From Email Address

…email address function prefix_email_from( $new_email ) { return ‘admin@newadress.com‘; // Change email address } add_filter(‘wp_mail_from_name’, ‘prefix_name_from’); // Change default WordPress from name function prefix_name_from( $new_name ) { return ‘Company Name’;…

Read More

Syncing RunCloud and Cloudflare firewalls for fail2ban IPs

Cloudflare Fail2ban Serverpilot

…better source, last updated Jan 2021. The Cloudflare conf below is from version 0.11.2 https://github.com/fail2ban/fail2ban/blob/master/config/action.d/cloudflare.conf https://gist.github.com/neilgee/9e89fced25ee515876dee125758330a4 You just rename/backup the old cloudflare.conf.original and add in the new one above best…

Read More

How to Add Web Fonts to Beaver Builder Plugin and Theme

Add Web Fonts Beaver Builder

…in your theme folder.   Then add in via enqueuing… https://gist.github.com/neilgee/b70262f6ff2f9b0c1774dbebb6c8c91c#file-enqueue-php Once enqueued add for the Beaver Builder modules in via fl_builder_font_families_system filter… https://gist.github.com/neilgee/b70262f6ff2f9b0c1774dbebb6c8c91c#file-fonts-php Just repeat the formatting as above…

Read More

Filter WooCommerce Order Received Thank You Text

…which you can do using the filter woocommerce_thankyou_order_received_text https://gist.github.com/neilgee/a570907ec8bb4d54741f#file-order-received-append-replace-php Above the original text is being replaced. Or below the original text is being retained with some new text added. https://gist.github.com/neilgee/a570907ec8bb4d54741f#file-order-received-append-php…

Read More