To customize a fresh new WP install, there are a bunch of pluginable functions that can be overridden. Namely
I'd like to override a couple of default options without needing to keep custom versions of the latter in sync with core in my
I'm not finding any obvious hook to do so in the
wp-includes/upgrade.php file, however. Might I be missing anything?
Edit: so, the
pre_option_$option_name is valid for options. Is there another, or some not-too-twisted procedure, that would allow to auto-enable permalinks, including (important) writing to the htaccess file as needed?