1 | 1 | @partyfrikadelle good work. You're right, WP core does not call `get_stylesheet_directory()` that early by default. In my case, we are including Advanced Custom Fields as a "must-use" plugin, and it calls that function first, before our custom theme directory is registered. A "simple" solution is to make our plugin load first (must-use are loaded in alphabetical order far as I know). Since there is a workaround I'm not sure if there needs to be any fix applied, but it should be documented that calls to `register_theme_directory()` should be prioritized. |