/**
* Renders the control wrapper and calls $this->render_content() for the internals.
*
* @since 3.4.0
*/
protected function render() { $id = 'customize-control-' .
str_replace( array
( '[', ']'
), array
( '-', ''
),
$this->id
);
$class = 'customize-control customize-control-' .
$this->type;
printf( '<li id="%s" class="%s">',
esc_attr( $id ),
esc_attr( $class ) );
$this->
render_content();
echo '</li>';
} /**
* Get the data link attribute for a setting.
*
* @since 3.4.0
* @since 4.9.0 Return a `data-customize-setting-key-link` attribute if a setting is not registered for the supplied setting key.
*
* @param string $setting_key
* @return string Data link parameter, a `data-customize-setting-link` attribute if the `$setting_key` refers to a pre-registered setting,
* and a `data-customize-setting-key-link` attribute if the setting is not yet registered.
*/