public function set( $args = array(), $assoc_args = array() ) {
		list( $mod, $value ) = $args;

		set_theme_mod( $mod, $value );

		if ( get_theme_mod( $mod ) === $value ) {
			WP_CLI::success( "Theme mod {$mod} set to {$value}." );
		} else {
			WP_CLI::success( "Could not update theme mod {$mod}." );
		}
	}
public function set( $args = array(), $assoc_args = array() ) {
		list( $mod, $value ) = $args;

		set_theme_mod( $mod, $value );

		if ( get_theme_mod( $mod ) === $value ) {
			WP_CLI::success( "Theme mod {$mod} set to {$value}." );
		} else {
			WP_CLI::success( "Could not update theme mod {$mod}." );
		}
	}
public function set ( $ args = array ( ) , $ assoc_args = array ( ) ) { list ( $ mod , $ value ) = $ args ; set_theme_mod ( $ mod , $ value ) ; if ( get_theme_mod ( $ mod ) === $ value ) { WP_CLI :: success ( "Theme mod {$mod} set to {$value}." ) ; } else { WP_CLI :: success ( "Could not update theme mod {$mod}." ) ; } }
Sets the value of a theme mod.

## OPTIONS

<mod>
: The name of the theme mod to set or update.

<value>
: The new value.

## EXAMPLES

# Set theme mod
$ wp theme mod set background_color 000000
Success: Theme mod background_color set to 000000
Sets the value of a theme mod .