handbook/internal-api/wp-cli-has-config.md
2021-05-14 13:24:24 +01:00

1.9 KiB

WP_CLI::has_config()

Confirm that a global configuration parameter does exist.


Usage

WP_CLI::has_config( $key )
$key (string) Config parameter key to check.
@return (bool)

Internal API documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.