stylesheet_directory filter called too early
-
With the new version 6.4.1, which introduces the global variable $wp_stylesheet_path, there is no way to setup a dedicated stylesheet directory in the theme.
During the very early process of constants initialization , the function get_directory_stylesheet() is called in the file default-constants.php line 422 (called from line 578 in wp-settings.php) and set the global variable before the loading of the functions.php file of the theme which happens only line 609 of the file wp-settings.php
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘stylesheet_directory filter called too early’ is closed to new replies.