Profile
Achievement
 
    
                djmosc's Recent Snippets
- All /
 « Prev 1 Next »
Just insert any category id into the argument and it will return the top level category object.
e.g: print_r( get_top_level_category('INSERT CATEGORY ID HERE') );
        
        
        
            0 
        
        
            1656 
        
                    posted 14 years ago by djmosc