Skip to content

Instantly share code, notes, and snippets.

/* Esse código permite que através do options page
seja possível fazer um update nos campos padrão do WordPress */
function update_site_info_from_options_page() {
// Obter o array dos metafields do JetEngine
$options = get_option('site-config');
// Definir os nomes dos metafields
@kentbrew
kentbrew / pinmarklet.md
Last active December 16, 2024 20:48
How to recreate your long-lost Pinterest bookmarklet.

How to recreate your long-lost Pinterest bookmarklet.

Right-click your bookmarks bar and choose Add Page (Chrome) or New Bookmarklet (Firefox).

In Name, put this:

Pin It

In URL, put this: