_wp_credits_build_object_link()
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.
Returns
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() wp credits build object link code WP 7.0
function _wp_credits_build_object_link( &$data ) {
$data = '<a href="' . esc_url( $data[1] ) . '">' . esc_html( $data[0] ) . '</a>';
}