How to handle theme activation errors?

I am trying to implement the hook for activating a theme, that will install composer dependencies upon activation. In tr

I am trying to implement the hook for activating a theme, that will install composer dependencies upon activation. In trying to figure out how to handle whether or not the vendor directory exists, I was wondering how to display the dependency errors if they occur, and what I can show instead of just a broken site. Also is there a way to maybe rollback to last theme, and send a notification that the theme is not able to be installed on the users system?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744674437a4587241.html

相关推荐

  • How to handle theme activation errors?

    I am trying to implement the hook for activating a theme, that will install composer dependencies upon activation. In tr

    1天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信