How to Create Custom Taxonomy in WordPress?

We can easily do this by using the register_taxonomy() function into our functions.php file.

Just open your functions.php file.

And paste the below code at the end of your file.