WP_Customize_Control::link()publicWP 3.4.0

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

Method of the class: WP_Customize_Control{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Customize_Control = new WP_Customize_Control();
$WP_Customize_Control->link( $setting_key );
$setting_key(string)
-
Default: 'default'

Changelog

Since 3.4.0 Introduced.

WP_Customize_Control::link() code WP 6.4.3

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