public function get( $args, $assoc_args ) {
		list( $key ) = $args;

		$value = get_site_option( $key );

		if ( false === $value ) {
			WP_CLI::halt( 1 );
		}

		WP_CLI::print_value( $value, $assoc_args );
	}
public function get( $args, $assoc_args ) {
		list( $key ) = $args;

		$value = get_site_option( $key );

		if ( false === $value ) {
			WP_CLI::halt( 1 );
		}

		WP_CLI::print_value( $value, $assoc_args );
	}
public function get ( $ args , $ assoc_args ) { list ( $ key ) = $ args ; $ value = get_site_option ( $ key ) ; if ( false === $ value ) { WP_CLI :: halt ( 1 ) ; } WP_CLI :: print_value ( $ value , $ assoc_args ) ; }
Gets a site option.

## OPTIONS

<key>
: Key for the site option.

[--format=<format>]
: Get value in a particular format.
---
default: var_export
options:
- var_export
- json
- yaml
---

## EXAMPLES

# Get site upload filetypes
$ wp site option get upload_filetypes
jpg jpeg png gif mov avi mpg
Gets a site option .