Skip to content

Commit e3f5502

Browse files
Include an example
1 parent ac506b7 commit e3f5502

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • docs/internal-api/wp-cli-get-config

docs/internal-api/wp-cli-get-config/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Provides access to `--path=<path>`, `--url=<url>`, and other values of
3030
the [global configuration parameters](https://wp-cli.org/config/).
3131

3232

33+
WP_CLI::log( 'The --url=<url> value is: ' . WP_CLI::get_config( 'url' ) );
34+
35+
36+
3337
*Internal API documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.*
3438

3539

0 commit comments

Comments
 (0)