Basics of PHP: Action and Filter Hooks
summary
Lightning fast walkthrough of WordPress hooks showing concrete results: a custom login logo, a quick Add to Cart button implemented in 7 lines of code, and a product-listing tweak that uses the woocommerce_after_shop_loop_item_title hook via add_action so the button loads without a page refresh. Code lives in a child theme functions.php, requires FTP or local dev to recover from errors, and demonstrates that actions add functionality while filters modify existing output.
AI-written summary · about
