WPDev.one
Core Function
View Source on Trac ↗

apache_mod_loaded()

apache_mod_loaded( mixed $mod, mixed $default_value = false )

Determines whether the specified module exist in the Apache config.

Parameters 1 required

Name / Type Description
$mod
string

The module, e.g. mod_rewrite.

Required
$default_value
bool

Optional. The default return value if the module is not found. Default false.

Return Value

(bool)
Whether the specified module is loaded.

Function Information

Since Version
2.5.0
Source File
wp-includes/functions.php
Advertisement