Gets the links associated with category n and display rating stars/chars.
$categoryintoptional
Default:-1
$beforestringoptional
Default:''
$afterstringoptional
<br />.Default:'<br />'
$betweenstringoptional
Default:" "
$show_imagesbooloptional
Default:true
$orderbystringoptional
'id', 'name', 'url', 'description', 'rating', or 'owner'. Default 'id'.'rand' as the order will return links in a random order.Default:'id'
$show_descriptionbooloptional
Default:true
$limitintoptional
Default:-1
$show_updatedintoptional
function get_links_withrating($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true,
$orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
_deprecated_function( __FUNCTION__, '2.1.0', 'get_bookmarks()' );
get_links($category, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated);
}
| Version | Description |
|---|---|
| 2.1.0 | Use get_bookmarks() |
| 0.71 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_links_withrating