Automattic\WooCommerce\Internal\CLI\Migrator\Lib
ImportSession::get_original_arguments
Get the original command arguments for session resumption.
Метод класса: ImportSession{}
Хуков нет.
Возвращает
Массив|null. The original arguments or null if not found
Использование
$ImportSession = new ImportSession(); $ImportSession->get_original_arguments();
Код ImportSession::get_original_arguments() ImportSession::get original arguments WC 10.5.2
public function get_original_arguments() {
$args = get_post_meta( $this->post_id, 'original_arguments', true );
return ( is_array( $args ) && ! empty( $args ) ) ? $args : null;
}