WPSEO_Import_Status::__construct()publicYoast 1.0

WPSEO_Import_Status constructor.

Метод класса: WPSEO_Import_Status{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WPSEO_Import_Status = new WPSEO_Import_Status();
$WPSEO_Import_Status->__construct( $action, $status, $msg );
$action(строка) (обязательный)
The type of import action.
$status(true|false) (обязательный)
The status of the import.
$msg(строка)
Extra messages about the status.
По умолчанию: ''

Код WPSEO_Import_Status::__construct() Yoast 22.4

public function __construct( $action, $status, $msg = '' ) {
	$this->action = $action;
	$this->status = $status;
	$this->msg    = $msg;
}