get_cli_args

SummerySummery

Returns value of command line params.

Syntax

get_cli_args( string $param, bool $required = false )

DescriptionDescription

Exits when a required param is not set.

ParametersParameters

$param

(string) (Required)

$required

(bool) (Optional)

Default value: false

ReturnReturn

(mixed)

SourceSource

File: wp-admin/includes/class-wp-importer.php


			
Scroll to Top