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:

Description

Does the specified module exist in the Apache config?

Related Functions

wp_cache_add, wp_cache_close, wp_auth_check_load, rest_api_loaded, wp_is_file_mod_allowed

Top Google Results

User discussions

wpseek mobile