• 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

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

Wordpress rest API end point

Kahnu Help September 26, 2022 wordpress 0 Comments

add_action( 'rest_api_init' , function ( ) { register_rest_route( 'kanha/v1' , '/get-all-orders' , [ 'methods' =…

Read more

Install Multiple PHP version in Ubuntu

Kahnu Help September 19, 2022 Linux 0 Comments

reference  https://techvblogs.com/blog/install-multiple-php-versions-on-ubuntu-22-04

Read more

Wordpress with docker

Kahnu Help September 17, 2022 docker 0 Comments

https://github.com/KanhaHelp/wordpress-with-docker

Read more

Install Postman In Ubuntu

Kahnu Help September 17, 2022 Linux 0 Comments

To install the latest version of the Postman desktop app, you need to install it via the  Snap  using the following commands. Install Postman in Debian an…

Read more

MongoDb createdAt timestamp to readable date using momentjs

Kahnu Help September 11, 2022 date 0 Comments

moment(1627451151130).format('MMMM D, YYYY') 'July 28, 2021'

Read more

Ubuntu kill/Quit/Close and app by command

Kahnu Help September 08, 2022 0 Comments

Open alt + f2 (fn+alt+f2) then kill the app by the command

Read more

Update All Node Packages to Latest

Kahnu Help September 05, 2022 nextjs 0 Comments

npm-check-updates The tool we are going to use is called  npm-check-updates . You can find a full list of commands and flags  here , but the quick steps…

Read more

Git - Ignore node_modules folder everywhere

Kahnu Help September 05, 2022 git 0 Comments

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies **/node_modules /.pnp .pnp.js # testing /coverage # 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