apache_mod_loaded
apache_mod_loaded ( $mod, $default_value = false )
Parameters:- (string) mod The module, e.g. mod_rewrite.
- (bool) default_value 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
Determines whether the specified module exist in the Apache config.