Back to Top

How to remove suffix from taxonomies in WordPress

Remove suffix from taxonomies in Wordpress

Right, I’m back after the break as I was busy in a stack overflow.Today I’m a going to go over how to replace some text or suffix in WordPress taxonomies. I have noticed in my experience that to solve some small issues take too much time to think that how to do it and this is also one kind of this thing.

Sometimes we are working with some plugin which filter text/taxonomies like category, tags before displaying to the browser. For example,

WPML plugin adds language code suffixes after the taxonomy if such taxonomy entry exists and adds this @lang suffix because WordPress doesn’t allow duplicate taxonomy name. so here I am going to explain how to remove that suffix from taxonomies in WordPress.

Let’s understand by code

you can change above code as per your requirement.Ok, that’s it. I hope you enjoyed this tutorial.

Thank you for reading.Feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular Posts

How to use JavaScript Promise API?

Posted on 11 months ago

Bhumi

How To Store Binary Data in PHP

Posted on 6 years ago

Bhumi

PHP Variables, Operators and Data types

Posted on 1 year ago

Bhumi

To learn MySQL PACK_KEYS with example

Posted on 3 years ago

Bhumi

Overview of ECMAScript 6 new Features

Updated 18 years ago

Bhumi

Getting started with Amazon Web Services

Updated 18 years ago

Bhumi

Facade implementation in Laravel

Updated 18 years ago

Bhumi

The Reader’s Poll – June 2015

Posted on 2 years ago

Bhumi

The Reader’s Poll – August 2014

Posted on 3 years ago

Bhumi

The Reader’s Poll – June 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – May 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – August 2013

Posted on 4 years ago

Bhumi