WP_Customize_Control::link()
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)
- -
Default: 'default'
Changelog
Since 3.4.0 | Introduced. |
Code of WP_Customize_Control::link() WP Customize Control::link WP 6.0
public function link( $setting_key = 'default' ) { echo $this->get_link( $setting_key ); }