|wp-admin/includes/misc.php: insert_with_markers()|| |
Inserts an array of strings into a file (.htaccess ), placing it between BEGIN and END markers.
|wp-admin/includes/misc.php: got_mod_rewrite()|| |
Returns whether the server is running Apache with the mod_rewrite module loaded.
|wp-admin/includes/file.php: get_home_path()|| |
Get the absolute filesystem path to the root of the WordPress installation
|wp-includes/load.php: is_multisite()|| |
If Multisite is enabled.
|wp-includes/class-wp-rewrite.php: WP_Rewrite::mod_rewrite_rules()|| |
Retrieves mod_rewrite-formatted rewrite rules to write to .htaccess.
|wp-includes/class-wp-rewrite.php: WP_Rewrite::using_mod_rewrite_permalinks()|| |
Determines whether permalinks are being used and rewrite module is enabled.