Change invoice numer
-
Its possible change invoice numeber with custom fields?
Ex. with order->get_post_meta(‘_client-id’);I check this function but its not working… :/
function change_invoice_number( $invoice_number, $invoice ) { $client-id = $invoice->order->get_post_meta('_client-id'); $invoice_number = 'test'.$client-id; return $invoice_number; } add_filter( 'wpi_invoice_number', 'change_invoice_number', 10, 2 );*/
`
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change invoice numer’ is closed to new replies.