Title: hide numbers
Last modified: October 9, 2021

---

# hide numbers

 *  [Ocio132](https://wordpress.org/support/users/ocio132/)
 * (@ocio132)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/hide-numbers/)
 * hello good I have this function and it does not hide the numbers
    [https://ibb.co/pLqK74P](https://ibb.co/pLqK74P)
 *     ```
       add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
           //Title is the firs key of the last sub array
   
           end($crumbs);              // move the internal pointer to the end of the array
           $last_key = key($crumbs);  // fetches the key of the element pointed to by the internal pointer
   
           //Here I don't use get_the_title because it run after filters are applied.
           //This causes that stars near title will appear in schema title
           $crumbs[$last_key][0] = get_post_field('post_title', get_the_ID(), 'raw');
   
           // And return the breadcrumbs
           return $crumbs;
       }, 10, 2);
       ```
   
    -  This topic was modified 4 years, 8 months ago by [Ocio132](https://wordpress.org/support/users/ocio132/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhide-numbers%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/hide-numbers/#post-14957816)
 * Hello, I remember that I gave you this code for an incompatibility with rank 
   math plugin.
 * That code should still works just fine.
 * Did you insert into your child theme?
 *  Thread Starter [Ocio132](https://wordpress.org/support/users/ocio132/)
 * (@ocio132)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/hide-numbers/#post-14957860)
 * with code snippets is set !!
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/hide-numbers/#post-14962239)
 * You have my email, please contact me there.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘hide numbers’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-stars-rating/assets/icon-256x256.png?rev=1525329)
 * [YASR - Yet Another Star Rating Plugin for WordPress](https://wordpress.org/plugins/yet-another-stars-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-stars-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-stars-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-stars-rating/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [Numbers](https://wordpress.org/support/topic-tag/numbers/)

 * 3 replies
 * 2 participants
 * Last reply from: [dudo](https://wordpress.org/support/users/dudo/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/hide-numbers/#post-14962239)
 * Status: not resolved