Array of arrays

This commit is contained in:
Mike Jolley 2018-05-18 15:13:54 +01:00
parent 00288c3b7f
commit bbfd419c8b
1 changed files with 4 additions and 2 deletions

View File

@ -383,9 +383,11 @@ class WC_Privacy_Exporters {
'group_label' => __( 'Payment Tokens', 'woocommerce' ),
'item_id' => 'token-' . $token->get_id(),
'data' => array(
array(
'name' => __( 'Token', 'woocommerce' ),
'value' => $token->get_display_name(),
),
),
);
}
$done = 10 > count( $tokens );