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.
Affiliate Program (16) ai (17) beermarketing (17) Blogging (22) brewery (21) Business (21) cast iron (36) Charlie (18) chatgpt (14) craftbeer (78) css (23) design (30) Disc Golf (63) fediverse (16) goodmorning (21) html (18) javascript (21) kiting (24) Leela (19) ListenTo (15) Maria (44) marketing (34) mastodon (14) Matt Vs WPEngine (15) music (39) North Carolina (32) outdoor cooking (30) outer banks (32) photo (20) php (33) Project Novatorius (26) Project PartnerShip (14) Project Siren (80) Project Standiford Blog (39) retail (28) Ricardo (22) Ricardo Wrecked (18) RV Life (229) travel (108) Underpin (20) Vermont (20) WCUS (68) WCUS2024 (32) Web Development (14) WordPress (396)