GC_Customize_Control::render()
最后更新于:2021-11-26 23:50:03
GC_Customize_Control::render()Renders the control wrapper and calls $this->render_content() for the internals.
源文件
文件: gc-includes/class-gc-customize-control.php
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>';
}