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.
Join 300+ founders learning to build their business together. Short, useful emails on partner-led growth and sane operations.
3d Printing (24) Affiliate Program (21) ai (58) Blogging (23) brewery (21) Business (26) cast iron (36) Charlie (19) craftbeer (78) css (23) design (30) Disc Golf (63) Entrepreneurship (21) family (25) goodmorning (21) html (18) javascript (21) kiting (39) Leela (19) Maria (44) marketing (34) music (46) North Carolina (32) outdoor cooking (30) outer banks (34) photo (20) php (34) Project Cornhole Board (18) Project Media Center (18) Project Novatorius (66) Project PartnerShip (19) Project PHPNomad (26) Project Siren (136) Project Standiford Blog (49) retail (28) Ricardo (22) Ricardo Wrecked (18) RV Life (233) travel (115) Underpin (20) Vermont (20) WCUS (69) WCUS2024 (32) WooCommerce (19) WordPress (430)
Join 300+ founders learning to build their business together. Short, useful emails on partner-led growth and sane operations.