Home

Enqueueing using the from @wordpress/scripts generated .deps.json dependencies [UPDATED for .asset.php]

When using the @wordpress/scripts package, it will automatically create a .deps.json file for every JavaScript entrypoint. This file contains a list of all the WordPress JavaScript dependencies used in it and in all the file it imports. Therefore it really simplifies keeping track all of the dependencies of a script. But the question that quickly […]

Continue reading

What are higher order functions?

When working on some filtering and sorting functionality, there is something wished I would have learned much earlier in my career. Before that point I didn’t really understand what higher order functions were or why it would be useful to return a function from another function. So I hope that this might help someone find […]

Continue reading

Headless Hackathon Takeaways

In early 2019 the Studygroup I’m in decided to take part in a hackathon hosted by Zac Gordon. The goal was to build a headless WordPress site. Our Headless Site: A meal planning site that allows you to create your meal plan for the next week from a list of stored recipes. WordPress Installation For […]

Continue reading