Redirect a user after they register via WooCommerce

If you are using WooCommerce and need to redirect users to a custom thank you page after they register to your WooCommerce site, you can use the woocommerce_registration_redirect filter to do exactly that:

Phil Kurth Phil Kurth

Cookie-based authentication when using the WordPress API Fetch NPM package

A nice little side effect of the development of WordPress’ Gutenberg block editor is that we now have a range of WordPress-oriented NPM packages available to us. One such package that I’ve been using in recent development for the ACF Custom Database Tables plugin is the @wordpress/api-fetch package which, as its name implies, is all […]

Phil Kurth Phil Kurth

Want it delivered fresh? You know what to do…

We never share your data.
Read our Privacy Policy

Quick & simple custom REST API routes for WordPress

Let’s take a look at the easiest way I know to set up custom REST API routes in a hurry.

Phil Kurth Phil Kurth

An automatic versioning strategy for enqueued WordPress assets

WordPress makes enqueuing assets super simple and generally does its very best to keep those assets up to date where possible but we can take this a step further and use PHP’s filemtime() function to ensure our JavaScript and CSS files are given a new version whenever we make changes to them. An example of […]

Phil Kurth Phil Kurth

How to customise the WordPress REST API URL prefix (wp-json)

WordPress’ REST API delivers all endpoints with the wp-json URL base. In this tutorial, we look at how to customise that to suit your needs.

Phil Kurth Phil Kurth

Customise the post titles in ACF’s relationship field

If you’ve ever found yourself wanting to modify the post titles in an ACF relationship field, you may have already stumbled across the acf/fields/relationship/result filter. It’s a pretty useful filter when you want to provide some more contextual information next to a post title in the relationship field results list. As with many filters built […]

Hookturn Hookturn

Load an ACF field’s options dynamically via PHP.

One thing I really appreciate about the Advanced Custom Fields (ACF) plugin is the flexibility it offers via WordPress’ hook system. For most use cases, we can do what we need from the admin but now and then I come up against scenarios where it is either necessary or just a whole lot easier to […]

Hookturn Hookturn

How to customize the colour palette for ACF’s colour picker field

Ever found yourself wishing you could define an exact colour palette for ACF’s colour picker field? Good news! You totally can. Using the JavaScript API built right into Advanced Custom Fields we can use a very small snippet of code to specify exactly which colours appear in the palette of suggested colours. <?php add_action( ‘admin_footer’, […]

Hookturn Hookturn

Customise ACF’s WYSIWYG field toolbars for a simpler admin experience

The ability to control exactly what buttons are available in a WYSIWYG field is a really neat point of customisation available in Advanced Custom Fields. The WYSIWYG field is definitely convenient but I often find myself needing to use it for no other reason than the most basic of formatting. Leaving too many options in […]

Hookturn Hookturn

How to get Advanced Custom Fields to load JSON files from more than one directory

If you use Advanced Custom Fields a lot you are probably using ACF’s very awesome Local JSON feature. By default, ACF saves and loads all JSON files from the acf-json directory inside your theme but it is possible to take control of ACF’s behaviour to define your own custom load points as outlined in the […]

Hookturn Hookturn

Good dev stuff, delivered.

Product news, tips, and other cool things we make.

We never share your data. Read our Privacy Policy

© 2016 – 2026 Hookturn Digital. All rights reserved.