WP_Customize_Control::link( string $setting_key = 'default' )

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

Parameters

$setting_key

(string) (Optional)

Default value: 'default'

Source

File: wp-includes/class-wp-customize-control.php

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

Changelog

Version Description
3.4.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_control/link