How to get “nexepagelink” and “previoiuspagelink” in wp_link_pages?

wp_link_pages() doesn’t support numbers and next/previous links. If you set next_or_number to number, the default, then the pages will be shown as number links. By default that looks like this:

Pages: 1 2 3

If you set it to next then you’ll get this output:

Pages:Previous page Next page

The nextpagelink and previouspagelink arguments are used to changed those labels, but they won’t add next and previous links to the numbered pagination.