WP_CLI::set_url()public staticWP-CLI 1.0

Set the context in which WP-CLI should be run

{} It's a method of the class: WP_CLI{}

No Hooks.

Return

null. Nothing.

Usage

$result = WP_CLI::set_url( $url );
$url (required)
-

Code of WP_CLI::set_url() WP-CLI 2.7.0-alpha

public static function set_url( $url ) {
	self::debug( 'Set URL: ' . $url, 'bootstrap' );
	$url_parts = Utils\parse_url( $url );
	self::set_url_params( $url_parts );
}