WordPress开发者和主题制作者的搜索引擎



_wp_credits_build_object_link ›

Since3.2.0
已弃用n/a
_wp_credits_build_object_link ( $data )
访问:
  • private
参数:
  • (string) $data External library data (passed by reference).
    Required: Yes
定义在:
文档:

Retrieve the link to an external library used in WordPress.



源码

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