apache_mod_loaded
apache_mod_loaded ( $mod, $default = false )
Parameters:- (string) mod The module, e.g. mod_rewrite.
- (bool) default Optional. The default return value if the module is not found. Default false.
Returns:- (bool) Whether the specified module is loaded.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Does the specified module exist in the Apache config?