Browse: Home / Classes / LearnDash_Settings_Fields /

LearnDash_Settings_Fields::get_field_attribute_name

LearnDash_Settings_Fields::get_field_attribute_name( array $field_args = array(),  boolean $wrap = true )

Create the HTML output from the field args ‘name’ attribute.


Description #


Parameters #

$field_args

(array) (Optional) main field args array. should contain element for 'attrs'.

Default value: array()

$wrap

(boolean) (Optional) Flag to wrap field atrribute in normal output or just return value.

Default value: true


Return #

(string) of HTML representation of the attrs array attributes.


Source #

File: includes/settings/class-ld-settings-fields.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.