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()
Return Return
(array)
Source Source
File: includes/admin/class.llms.admin.settings.php
869 870 871 872 873 874 875 876 877 878 879 | // Custom attribute handling. $custom_attributes = array (); foreach ( $attributes as $attribute => $attribute_value ) { $custom_attributes [] = esc_attr( $attribute ) . '="' . esc_attr( $attribute_value ) . '"' ; } return $custom_attributes ; } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.4.5 | Introduced. |