Use after_setup_theme than plugins_loaded