Variabilni symbol

0.0/5
<?php
if(ICL_LANGUAGE_CODE=='cs') {
	add_filter( 'woocommerce_bacs_account_fields', 'custom_bacs_account_field', 10, 2);
}

function custom_bacs_account_field( $account_fields, $order_id ) {
	$order = wc_get_order( $order_id );
	$account_fields['variable_symbol' ] = array(
	'label' => 'Variabilní symbol',
	'value' => $order->get_order_number()
	);
	return $account_fields;
}

Comments and reviews

{{ reviewsTotal }} Review
{{ reviewsTotal }} Reviews
{{ options.labels.newReviewButton }}
{{ userData.canReview.message }}

Description

This snippet was fetched automatically from WPDistro.cz projects.

Author

Tags

This snippet is untagged