_wp_credits_build_object_link()WP 3.2.0

Retrieves the link to an external library used in WordPress.

Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.

No Hooks.

Return

null. Nothing (null).

Usage

_wp_credits_build_object_link( $data );
$data(string) (required) (passed by reference — &)
External library data (passed by reference).

Changelog

Since 3.2.0 Introduced.

_wp_credits_build_object_link() code WP 6.5.2

function _wp_credits_build_object_link( &$data ) {
	$data = '<a href="' . esc_url( $data[1] ) . '">' . esc_html( $data[0] ) . '</a>';
}