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:
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 […]
We never share your data.
Read our
Privacy Policy
Let’s take a look at the easiest way I know to set up custom REST API routes in a hurry.
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 […]
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.
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 […]
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 […]
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’, […]
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 […]
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 […]
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.