Skip to content

Instantly share code, notes, and snippets.

A Bit Git!

Morteza man4toman

A Bit Git!
View GitHub Profile
melvinstanly / woo-checkout-order-review.php
Created Sep 12, 2018
Add custom field or html to review order table in WooCommerce Checkout
View woo-checkout-order-review.php
/* To add custom field in order review table in checkout page, you will have to use some of the hooks listed below.
do_action( 'woocommerce_review_order_before_cart_contents' );
do_action( 'woocommerce_review_order_after_cart_contents' );
do_action( 'woocommerce_review_order_before_shipping' );
do_action( 'woocommerce_review_order_after_shipping' );
do_action( 'woocommerce_review_order_before_order_total' );
do_action( 'woocommerce_review_order_after_order_total' );
shgysk8zer0 /
Created Feb 10, 2017
Generate random images in PHP

Generate random images in PHP



  • Because you can
  • Because you have time to spare
  • Maybe you think they look cool or want to save them for wallpapers or something
  • Maybe it reminds you of that one time... You know which time I'm talking about


tbranyen /
Last active Sep 29, 2022
OpenWeatherMap / Weather Icons integration
  1. Include Weather Icons in your app:

  2. Include the below JSON in your application, for example purposes, lets assume it's a global named weatherIcons.

  3. Make a request to OpenWeatherMap:

req = $.getJSON(',uk&callback=?');