How to assign the default file at “Appearance > Editor”?
Unfortunately you can’t control what files are loaded on that page… But you can disable the editor page and provide the user with theme options that allow him to include his own CSS. To deal with this I’m creating and activating a child theme automatically if possible: if(!is_child_theme()){ require_once(ABSPATH.’wp-admin/includes/file.php’); if(!WP_Filesystem()){ // fail, proably no write-access, … Read more