wordpress/wp-content/plugins/widget-css-classes/includes/widget-css-classes.class.php
/**
	 * Get the HTML for the ID input field.
	 * @static
	 * @since  1.5.0
	 * @param  WP_Widget $widget
	 * @param  array     $instance
	 * @return string
	 */
Get the HTML for the ID input field.
Get the HTML for the ID input field .
private static function do_id_field( $widget, $instance ) {
		$field = '';
		$id    = $widget->get_field_id( 'ids' );
		$name  = $widget->get_field_name( 'ids' );
		$label = apply_filters( 'widget_css_classes_id', esc_html__( 'CSS ID', WCSSC_Lib::DOMAIN ) );
		$field .= self::do_label( $label, $id );
		$field .= "<input type='text' name='{$name}' id='{$id}' value='{$instance['ids']}' class='widefat' />";
		$field = '<p>' . $field . '</p>';
		return $field;
	}
private static function do_id_field ( $ widget , $ instance ) { $ field = '' ; $ id = $ widget -> get_field_id ( 'ids' ) ; $ name = $ widget -> get_field_name ( 'ids' ) ; $ label = apply_filters ( 'widget_css_classes_id' , esc_html__ ( 'CSS ID' , WCSSC_Lib :: DOMAIN ) ) ; $ field .= self :: do_label ( $ label , $ id ) ; $ field .= " <input type='text' name=' { $ name } ' id=' { $ id } ' value=' { $ instance [ 'ids' ] } ' class='widefat' /> " ; $ field = '<p>' . $ field . '</p>' ; return $ field ; }
Get the HTML for the ID input field.
Get the HTML for the ID input field .
/**
		 * Change the label for the CSS ID form field.
		 *
		 * @param  string
		 * @return string
		 */