Uses
Uses | Description |
---|---|
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
wp-includes/bookmark.php: sanitize_bookmark_field() | Sanitizes a bookmark field. |
This function has been deprecated. Use sanitize_bookmark_field() instead.
Legacy function that retrieved the value of a link’s link_rating field.
(object) (Required) Link object.
(mixed) Value of the 'link_rating' field, false otherwise.
File: wp-includes/deprecated.php
function get_linkrating( $link ) { _deprecated_function( __FUNCTION__, '2.1.0', 'sanitize_bookmark_field()' ); return sanitize_bookmark_field('link_rating', $link->link_rating, $link->link_id, 'display'); }
Version | Description |
---|---|
2.1.0 | Use sanitize_bookmark_field() |
1.0.1 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_linkrating