Skip to content

By hook or by crook

Recently I wrote my first ever coding gist from scratch! I know, it really isn’t such a big deal but for me it was really nice to experience some progress being made of my developer skills.

I have tinkered with pre-written gists, made edits to some to suit my own preferences but never have I made one from scratch.

In the below gist, I basically hook into the a part of the Paid Memberships Pro code that handles the different currencies of the plugin and adjust the layout of the Danish Krone. This was inspired by one of our members who needed the layout of the currency to look a little different to how (PMPro) handle currency layout by default.

Creating this gist involved me, looking for the location of the currencies, figuring out where to hook into the code and then of course, writing a function that will ultimately change the default currency layout to that of our client’s request.

One happy client

No big deal, right? Sure. If you are a developer!

Perhaps, this calls for a bit more of an in depth step by step guide on how I did this and the process I followed? If you think so, let me know in the comments below.


Want to learn more?

I would highly recommend checking out

1 thought on “By hook or by crook”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.