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
评论列表(0条)