Documentation - Actions / Filters - Filter – Admin – Change Re-order submenu title

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInPrint this page

Filter – Admin – Change Re-order submenu title

By default all sub-menu’s are names as Re-Order. This can be modified through he following filter
apto/admin/menu_title

    add_filter('apto/admin/menu_title', 'apto_admin_menu_title', 10, 2);
    function apto_admin_menu_title($menu_title, $post_type)
        {
            if($post_type   ==  'feature')
                $menu_title =   'Feature Sort';
                
            return $menu_title;
        }

The above code will re-name to ‘Feature Sort’ when item of Feature post menu.