Title: get_links()
Last modified: February 7, 2017

---

# get_links()

 *  [navid](https://wordpress.org/support/users/navid/)
 * (@navid)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/get_links-2/)
 * According to the latest nightly build (12/16), the parameters for the get_links()
   function in wp-includes/links.php is as follows:
    `function get_links($category
   = -1, $before = '', $after = '', $between = ' ', $show_images = true, $orderby
   = 'name', $show_description = true, $show_rating = false, $limit = -1, $show_updated
   = 1, $echo = true)  Unfortunately, the comments about the function show $show_updated
   as having a default of 0 and do not even mention what the $echo parameter is 
   all about. Unfortunately, the information [http://wiki.wordpress.org/TemplateTags/get_links](http://wiki.wordpress.org/TemplateTags/get_links)
   is also wrong. So the question is; is the documentation or the current parameter
   correct? Should $show_updated default to 0 or 1? And what’s $echo all about? 
   I actually don’t see it being used in the function unless that’s a clever way
   to supress all output? Either way, it should be documented, no? I’d be more than
   happy to fix the Wiki, I just wanted to know what the general concensus was?

The topic ‘get_links()’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [navid](https://wordpress.org/support/users/navid/)
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/get_links-2/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
