Auto-create title/slug from invoice number?
-
I would like newly created invoices to automatically use the ‘next_invoice_number’ in its title and slug. I can do this with the filter ‘wp_insert_post_data’, but I am having trouble fetching the sliced_get_next_invoice_number.
A simple $_POST[‘_sliced_invoice_number’] (=the id of the side metabox) doesn’t do the trick.
Any suggestions are highly appreciated. ??
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Auto-create title/slug from invoice number?’ is closed to new replies.