WordPress at Your Fingertips
function is not described

WP_Customize_Control::link() public WP 3.4.0

Render the data link attribute for the control's input element.

{} It's a method of the class: WP_Customize_Control{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_Control = new WP_Customize_Control();
$WP_Customize_Control->link( $setting_key );
$setting_key(string)
-

Changelog

Since 3.4.0 Introduced.

Code of WP_Customize_Control::link() WP 5.7.2

<?php
public function link( $setting_key = 'default' ) {
	echo $this->get_link( $setting_key );
}