Skip to content

Instantly share code, notes, and snippets.

View TioBorracho's full-sized avatar

Dario Guzik TioBorracho

  • Google UK
  • London
View GitHub Profile
@TioBorracho
TioBorracho / data.csv
Last active February 22, 2017 15:56 — forked from eightysteele/data.csv
Unicode DictReader and DictWriter
id name age
0 aaron 34
1 tina 36
2 noah ©
@TioBorracho
TioBorracho / data.csv
Created February 22, 2017 15:54 — forked from eightysteele/data.csv
Unicode DictReader and DictWriter
0 aaron 34
1 tina 36
2 noah ©
@TioBorracho
TioBorracho / adding_new_webhook_topics.php
Created September 14, 2023 10:27 — forked from jessepearson/adding_new_webhook_topics.php
How to add a new custom Webhook topic in WooCommerce, with example of order filtering.
<?php // do not copy this line
/**
* add_new_topic_hooks will add a new webhook topic hook.
* @param array $topic_hooks Esxisting topic hooks.
*/
function add_new_topic_hooks( $topic_hooks ) {
// Array that has the topic as resource.event with arrays of actions that call that topic.
@TioBorracho
TioBorracho / adding_new_webhook_topics.php
Created September 14, 2023 10:27 — forked from jessepearson/adding_new_webhook_topics.php
How to add a new custom Webhook topic in WooCommerce, with example of order filtering.
<?php // do not copy this line
/**
* add_new_topic_hooks will add a new webhook topic hook.
* @param array $topic_hooks Esxisting topic hooks.
*/
function add_new_topic_hooks( $topic_hooks ) {
// Array that has the topic as resource.event with arrays of actions that call that topic.