Home Blog
how to send email to customer on order cancellation woocommerce
How to send email to customer on order cancellation WooCommerce   Add this code in your Theme Functions (functions.php) file add_action('woocommerce_order_status_changed', 'custom_send_email_notifications', 10, 4 ); function custom_send_email_notifications( $order_id, $old_status, $new_status, $order ){ if ( $new_status == 'cancelled' || $new_status == 'failed' ){ $wc_emails = WC()->mailer()->get_emails(); // Get all WC_emails objects instances $customer_email = $order->get_billing_email(); // The customer email } if ( $new_status == 'cancelled' ) { // change...
force http instead of https working solution
Recently, I came across a situation where I wanted to have some parts of my website https secure and other parts be http. So, after looking at internet everybody tries to force marry you with SSL which is not a bad thing but if you want to choose between http and https it should be your decision not every page...
Changing Logo on Wordpress Login Page Add this code in your Theme Functions (functions.php) file function my_login_logo() { ?> #login h1 a, .login h1 a { background-image: url('https://makemysite.ie/wp-content/uploads/2018/02/cropped-Logomakr_1CcdQy.png'); background-repeat: no-repeat; ...
Please enter a commit message to explain why this merge is necessary,especially if it merges an updated upstream into a topic branch
When trying to push a commit into Github via terminal we come across this problem: "Please enter a commit message to explain why this merge is necessary,especially if it merges an updated upstream into a topic branch | Error Message" This happens when a commit was made to the branch you are working with an you try to push a commit...
video
How does HTTPS affect Adsense Earnings? Brief explanation and revenue impact. HTTPS (SSL) can loose you 30% on your Adsense earnings. This Video also explains and demonstrates common Adsense and ssl related questions like: How ssl impact Adsense revenue? Is https (SSL) for me? Should I really use SSL? Will using https reduce my website earnings? HTTPS impact on Adsense? AdSense ad code support for SSL?...
What is cPanel ? Demo and its Features in detail. cPanel, is a software used by almost all the top web-hosting companies in this world. Website: Cpanel.com What use is it for you as a user ? cPanel is used but web-developers to manage all aspects of website management like (most common ones) - File manager, Database Management (Database creation, management, adding users,...