_wp_credits_build_object_link

Retrieve the link to an external library used in WordPress.

Description

_wp_credits_build_object_link( (string) &$data ); 

Parameters (1)

0. $data (string) => &$data
External library data, passed by reference.

Usage

  1. if ( !function_exists( '_wp_credits_build_object_link' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/credits.php'; 
  3.  
  4. // External library data, passed by reference. 
  5. $data = &$data; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = _wp_credits_build_object_link($data); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/credits.php  
  1. function _wp_credits_build_object_link( &$data ) { 
  2. $data = '<a href="' . esc_url( $data[1] ) . '">' . esc_html( $data[0] ) . '</a>';