• Home
  • Features
  • _Multi DropDown
  • __DropDown 1
  • __DropDown 2
  • __DropDown 3
  • _Shortcodes
  • _Sitemap
  • _Error Page
  • Documentation
  • _Web Doc
  • _Video Doc
  • Download This Template
Kahnu Help
  • Home
  • Features
  • _Multi DropDown
  • __DropDown 1
  • __DropDown 2
  • __DropDown 3
  • _Shortcodes
  • _Sitemap
  • _Error Page
  • Documentation
  • _Web Doc
  • _Video Doc
  • Download This Template

set python3 as python in ubuntu

Kahnu Help October 31, 2022 linux. python 0 Comments

alias python = python3

Read more

Ubuntu 22 2nd Monitor Bightness Problem [Solved]

Kahnu Help October 29, 2022 Linux 0 Comments

Open a Terminal Check by below command   xrandr -q | grep " connected"  Check by the above command if the output looks like the below then go to…

Read more

Check A Dependent plugin active or not

Kahnu Help October 26, 2022 wordpres 0 Comments

# Needed to the function "deactivate_plugins" works include_once (ABSPATH . 'wp-admin/includes/plugin.php' ); add_action ( 'plugin…

Read more

Wordpress change logout url according to user roles

Kahnu Help October 22, 2022 wordpress 0 Comments

function kanha_change_logout_url_by_user_roles () { $current_user = wp_get_current_user (); $role_name = $current_user -> roles [ 0…

Read more

Wordpress change logout url

Kahnu Help October 22, 2022 wordpres 0 Comments

add_action ( 'wp_logout' , 'kanha_change_logout_url' ); function kanha_change_logout_url ( $redirect_url ) { wp_safe_redirect …

Read more

Redirect wp-admin page to another in wordpress

Kahnu Help October 22, 2022 wordpres 0 Comments

add_action ( 'init' , 'kanha_redirect_login_page' ); function kanha_redirect_login_page ( $redirect_url ) { global $pagenow ; …

Read more

Detect laptop battery and charging status

Kahnu Help October 22, 2022 javascript 0 Comments

navigator . getBattery (). then (( battery ) => { console . log ( `Battery ${ battery . level * 100 } %` ); console . log ( `Charging status…

Read more

Sent OTP email in wordpress

Kahnu Help October 21, 2022 wordpress 0 Comments

$otp = rand ( 100000 , 999999 ); // $result = otpl_send_otp_test($email, $otp); // print_r($result); $otp_message = '<table width=&q…

Read more

Filter coupon at checkout page

Kahnu Help October 21, 2022 wordpress 0 Comments

add_filter ( 'woocommerce_coupon_is_valid' , 'check_multi_coupon_code_by_kanha' , 10 , 3 ); function check_multi_coupon_code_by_kanha …

Read more

create woocommerce coupon

Kahnu Help October 21, 2022 wordpress 0 Comments

$coupon_code = 'UNIQUECODE' ; // Code $amount = '10' ; // Amount $discount_type = 'fixed_cart' ; // Type: fixed_cart, percent…

Read more

Apply coupon to woocommerce automatically

Kahnu Help October 21, 2022 woocommerce 0 Comments

//Apply discount coupon automatically in woocommerce add_action ( 'woocommerce_before_cart_table' , 'discount_when_quantity_greater_than_10&…

Read more

How to detect if it is an AJAX request in WordPressHow to detect if it is an AJAX request in WordPress ?

Kahnu Help October 21, 2022 wordpress 0 Comments

/* If it is true then it's an Ajax call */ if ( defined ( 'DOING_AJAX' ) && DOING_AJAX) { //write your code here }

Read more

Copy all user roles one site to another in wordpress

Kahnu Help October 19, 2022 wordpress 0 Comments

In order to copy user roles to the different website you’d need to copy/paste the data from  wp_user_roles  option in the  wp_options  table in the data…

Read more

GIT - fatal: in unpopulated submodule [FIXED]

Kahnu Help October 17, 2022 git 0 Comments

It seems like, you may have removed the .git folder. In that case you can try git rm --cached folderpath/ -f where   folderpath is the path from where yo…

Read more

Strapi Watcher problem

Kahnu Help October 11, 2022 node 0 Comments

sudo sysctl fs.inotify.max_user_watches=524288 sudo sysctl -p

Read more
Newer Posts Older Posts

Search This Blog

  • July 2026(1)
  • January 2026(3)
  • October 2025(2)
  • September 2025(3)
  • July 2025(1)
  • June 2025(6)
  • May 2025(1)
  • March 2025(1)
  • January 2025(4)
  • December 2024(3)
  • November 2024(5)
  • October 2024(1)
  • September 2024(7)
  • August 2024(2)
  • July 2024(3)
  • June 2024(1)
  • May 2024(1)
  • April 2024(3)
  • March 2024(5)
  • February 2024(8)
  • January 2024(5)
  • December 2023(1)
  • November 2023(5)
  • October 2023(4)
  • September 2023(5)
  • August 2023(4)
  • July 2023(5)
  • June 2023(5)
  • May 2023(4)
  • April 2023(2)
  • March 2023(4)
  • February 2023(3)
  • January 2023(1)
  • December 2022(6)
  • November 2022(6)
  • October 2022(15)
  • September 2022(8)
  • August 2022(17)
  • July 2022(16)
  • June 2022(17)
  • May 2022(32)
  • April 2022(21)
  • March 2022(27)
  • February 2022(20)
  • January 2022(8)
  • December 2021(10)
  • November 2021(19)
  • October 2021(23)
  • September 2021(1)

Popular

nginx config for multiple domain with same content

June 18, 2025

Ubuntu 22 2nd Monitor Bightness Problem [Solved]

October 29, 2022

Google sheet formula for append data in a column value

November 17, 2024

Categories

Tags

Kahnu Help

about-text

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.

Email: yourmail@mail.com
  • Home

Footer Menu

  • Home
  • About
  • Contact Us
Design by Theme | Distributed by Gooyaabi Template

Contact Form