Aha, thanks @mentalstring and @Lilly for finding this. The example in the OP was for a plugin, which has a subtly different directory structure to a theme. I’ve now updated it to include example file paths for both themes and plugins Image may be NSFW.
Clik here to view.
↧
Using modifyClass for objects which are initialized early in boot
↧