wpseek.com
A WordPress-centric search engine for devs and theme authors



get_linkrating › WordPress Function

Since1.0.1
Deprecated2.1.0
get_linkrating ( $link )
Parameters:
  • (object) $link Link object.
    Required: Yes
See:
Returns:
  • (mixed) Value of the 'link_rating' field, false otherwise.
Defined at:
Codex:

Legacy function that retrieved the value of a link's link_rating field.



Source

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');
}