public/wordpress/wp-content/plugins/wp-courseware/includes/functions/template.php
/**
 * Implode and escape HTML attributes for output.
 *
 * @since 4.3.0
 *
 * @param array $raw_attributes Attribute name value pairs.
 *
 * @return string
 */
Implode and escape HTML attributes for output.

@param array $raw_attributes Attribute name value pairs.

@return string
Implode and escape HTML attributes for output . @param array $raw_attributes Attribute name value pairs . @return string
function wpcw_implode_html_attributes( $raw_attributes ) {
	$attributes = array();
	foreach ( $raw_attributes as $name => $value ) {
		$attributes[] = esc_attr( $name ) . '="' . esc_attr( $value ) . '"';
	}
	return implode( ' ', $attributes );
}
function wpcw_implode_html_attributes ( $ raw_attributes ) { $ attributes = array ( ) ; foreach ( $ raw_attributes as $ name => $ value ) { $ attributes [ ] = esc_attr ( $ name ) . '="' . esc_attr ( $ value ) . '"' ; } return implode ( ' ' , $ attributes ) ; }
Implode and escape HTML attributes for output.
Implode and escape HTML attributes for output .