Clicky

  1. Home
  2. How To
  3. How to change Breadcrumb name by using Filter

How to change Breadcrumb name by using Filter

If you want to change the Breadcrumb name then first you need to create a Custom Plugin and add it below the filter.

Example code:

add_filter('ampforwp_breadcrumbs_category_name','prefix');
function prefix($breadcrumbs_category_name ){
  $breadcrumbs_category_name = 'Text';
  return $breadcrumbs_category_name ;
}

The Output of Breadcrumb name in AMP

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on April 21, 2021

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment