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



_wp_credits_build_object_link › WordPress Function

Since3.2.0
Deprecatedn/a
_wp_credits_build_object_link ( $data )
Access:
  • private
Parameters:
  • (string) $data External library data (passed by reference).
    Required: Yes
Defined at:
Codex:

Retrieves the link to an external library used in WordPress.



Source

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