Author: Dhaval Kasavala
I'm Wordpress Developer and love WordPress community.
Disable All Payment Gateways in WooCommerce
/* Disable all payment gateways on the checkout page and replace the "Pay" button by "Place order" */
add_filter( 'woocommerce_cart_needs_payment', '__return_false' );
Run Multiple PHP or Xampp in Linux
- Go to – Downloads Xampp for Linux
- Download .run file of Xampp of your choice (in linux name of xampp is lampp)
- Open a terminal (Applications->Accessories->Terminal).
chmod +x lampp.run
- Finish installation and goto /opt/lampp and rename it to ‘lampp-version’
- Then run install another .run file of lampp same as above lampp
- Check your PHP version using the command := php -v
- Create a symlink for lampp using these commands
sudo ln -s lampp-version/ lampp
- For the change php version remove old symlink using these commands
sudo rm -r lampp
- Create a new symlink for another version using the above commands and then check PHP version again with command = php -v
- Your version is changed! 🙂 😎 ❤
Wordcamp Ahmedabad 2019
It was very big wordcamp of india.Feeling good to attend it and meeting new people also part of contributer day.
Attend WordCamp Udaipur 2019