get_links Wordpress function


Description:

Gets the links associated with category by id.


Syntax:


Arguments:

(int) $category The category to use. If no category supplied uses all
(string) $before the html to output before the link
(string) $after the html to output after the link
(string) $between the html to output between the link/image and its description. Not used if no image or show_images == true
(bool) $show_images whether to show images (if defined).
(string) $orderby the order to output the links. E.g. 'id', 'name', 'url', 'description', or 'rating'. Or maybe owner. If you start the name with an underscore the order will be reversed. You can also specify 'rand' as the order which will return links in a random order.
(bool) $show_description whether to show the description if show_images=false/not defined.
(bool) $show_rating show rating stars/chars
(int) $limit Limit to X entries. If not specified, all entries are shown.
(int) $show_updated whether to show last updated timestamp
(bool) $echo whether to echo the results, or return them instead


Return Type:

(null|string)


Define At:

wp-includes/deprecated.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_links


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×