A WordPress-centric search engine for devs and theme authors



wp_environment_types ›

Since5.5.0
Deprecatedn/a
apply_filters( 'wp_environment_types', $wp_environments )
Parameters:
  • (array) $wp_environments The list of environment types. Possible values include 'development', 'staging', 'production'.
    Required: Yes
Defined at:
Codex:

Filters the list of supported environment types.

This filter runs before it can be used by plugins. It is designed for non-web runtimes.





Source

$wp_environments = apply_filters( 'wp_environment_types', $wp_environments );