Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to create custom wordpress logout button(wp_logout_url) in wordpress?

custom wordpress logout button(wp_logout_url) in wordpress <li class=”menu-logout”><a href=”<?php echo wp_logout_url(); ?>”><span><i class=”fa fa-sign-out”></i></span>Logout</a></li> Or <li class=”signOut”><?php wp_logout(); ?></li> add_action( ‘wp_logout’, ‘auto_redirect_external_after_logout’); function auto_redirect_external_after_logout(){ wp_redirect( ‘http://redirect-url’ ); exit(); } Get

Read More »

How to add another email in woocommerce order?

Add another email in woocommerce order add_filter( ‘woocommerce_email_recipient_customer_completed_order’, ‘your_email_recipient_filter_function’, 10, 2); function your_email_recipient_filter_function($recipient, $object) {     $recipient = $recipient . ‘,jaspreet7973[email protected]’;     return $recipient; }  Add another email

Read More »