Have a look at the wp-settings.php file. You’ll see that the plugins_loaded
action is triggered before the theme is loaded. The first action available for themes to hook into is the after_setup_theme
action.
Have a look at the wp-settings.php file. You’ll see that the plugins_loaded
action is triggered before the theme is loaded. The first action available for themes to hook into is the after_setup_theme
action.