Skip to content

Instantly share code, notes, and snippets.

View david-binda's full-sized avatar

David Biňovec david-binda

View GitHub Profile
@david-binda
david-binda / apply-filters.php
Last active October 19, 2018 11:25
A must-use plugin for WordPress developers figuring out what filter callback changes a value passed to the `apply_filters` function
<?php
/*
Plugin Name: Apply Filters debug
Description: A debug function for figuring out what filter's callback changed the value
Version: 0.1
Author: Automattic, david-binda
Author URI: http://www.automattic.com/
*/
/* This program is free software; you can redistribute it and/or modify
@david-binda
david-binda / bookmarklet.js
Last active June 12, 2019 09:15
Download image from PhotoVogue ( https://www.vogue.it/en/photovogue )
javascript:(function()%7B%20window.location%20=%20document.querySelector(%22%23galleryWrapper%20.carousel-content%20.item.active%20img%22).src%20%7D)();