Today I was tasked with adding functionality to an existing custom post type. The problem was, the CPT was being registered in a plugin which I could not edit (client declined to give WDS write access to the /plugins folder).
After some digging, I found there’s a filter for that (found in post.php) which allows you to modify a custom post type (after it’s been registered some other way) and could do so in the theme.
Why? Because the DNR makes this information hard to find. It’s scattered across the 76 page Hunting & Fishing Advertisement Digest and all over the web. I hope you found this page helpful. Good luck out there – and be safe! Happy hunting!
It all started in the third grade when I learned to play the trumpet. Throughout school and even shortly after I graduated high school I played that trumpet. Although I wasn’t “the best”, I really enjoyed making music. Continue reading “I bought a guitar”