WP_CLI\Utils

get_theme_name()WP-CLI 1.0

No Hooks.

Return

null. Nothing.

Usage

get_theme_name( $path );
$path (required)
-

Code of get_theme_name() WP-CLI 2.7.0-alpha

function get_theme_name( $path ) {
	return basename( $path );
}