Skip to content

Instantly share code, notes, and snippets.

View foosantos's full-sized avatar

Felipe Santos foosantos

View GitHub Profile
@foosantos
foosantos / test-woo-checkout.user.js
Last active August 28, 2021 23:00
Test WooCommerce Checkout
// ==UserScript==
// @name Auto fill values for WooCommerce checkout
// @namespace
// @version 0.1
// @description Adds a Tampermonkey script.
// @author felipelousantos
// @updateURL
// @grant GM_registerMenuCommand
// @match http*://*/*
// @noframes
@allysonsouza
allysonsouza / wordpress-hook-debug.php
Last active December 1, 2020 21:16
See functions hooked to a specific WordPress hook
<?php
$hook_name = 'your-hook-name';
global $wp_filter;
error_log( print_r( $wp_filter[$hook_name] , true ) );
?>