PSA: don’t make your hooks or filters “cute”, where you make them dynamic based on some kind of string concatenation. EG:
do_action( ‘new_’ . $type . ‘_created’ );
It makes searching your code for the right hook much, much harder.
Alex Standiford
PSA: don’t make your hooks or filters “cute”, where you make them dynamic based on some kind of string concatenation. EG:
do_action( ‘new_’ . $type . ‘_created’ );
It makes searching your code for the right hook much, much harder.
3d Printing (23) Affiliate Program (16) ai (35) beermarketing (17) Blogging (22) brewery (21) Build in Public (15) Business (25) cast iron (36) Charlie (19) craftbeer (78) css (23) design (30) Disc Golf (63) fediverse (16) goodmorning (21) html (18) javascript (21) kiting (37) Leela (19) ListenTo (15) Maria (44) marketing (34) music (42) North Carolina (32) outdoor cooking (30) outer banks (34) photo (20) php (34) Project Cornhole Board (18) Project Novatorius (54) Project PartnerShip (19) Project PHPNomad (22) Project Siren (98) Project Standiford Blog (41) retail (28) Ricardo (22) Ricardo Wrecked (18) RV Life (232) travel (115) Underpin (20) Vermont (20) WCUS (69) WCUS2024 (32) WordPress (406)