Skip to content

Instantly share code, notes, and snippets.

View bph's full-sized avatar

Birgit Pauli-Haack bph

View GitHub Profile
@ryanwelcher
ryanwelcher / settings.json
Last active April 1, 2026 09:48
Add this to your Claude Code settings.json to customize the spinnerVerbs and tips with WordPress-centric ones
{
"spinnerTipsOverride": {
"excludeDefault": true,
"tips": [
"If it's broken, have you tried deactivating all plugins?",
"The answer is probably in functions.php. The problem is also probably in functions.php.",
"wp_enqueue_scripts is a hook, not a suggestion.",
"Always sanitize inputs. Always. No exceptions. Yes, that one too.",
"The loop has been running since 2003. Show some respect.",
"If you're editing core files, I will find out.",
@michelegiorgi
michelegiorgi / formality_hooks_sample.php
Last active December 20, 2023 00:06
Formality hooks reference
<?php
/**
* Formality hooks reference
*
* @link https://formality.dev
* @since 1.1
* @package Formality
* @author Michele Giorgi <hi@giorgi.io>
*/
@norcross
norcross / content-create.php
Last active February 20, 2018 16:50
Functionality pieces for the NextDraft build
<?php
/**
* AJAX call for parsing HTML
*
*/
public function parse_html() {
// get content from textarea
$text = $_POST['content'];