LLMS_Admin_Settings::format_field_custom_attributes( array $attributes = array() )

Formats an associative array of custom field attributes as an array of HTML strings


Parameters Parameters

$attributes

(array) (Optional) associative array of attributes

Default value: array()


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/admin/class.llms.admin.settings.php

		// Custom attribute handling.
		$custom_attributes = array();
		foreach ( $attributes as $attribute => $attribute_value ) {

			$custom_attributes[] = esc_attr( $attribute ) . '="' . esc_attr( $attribute_value ) . '"';

		}

		return $custom_attributes;

	}



Top ↑

Changelog Changelog

Changelog
Version Description
1.4.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.