Browse: Home / Classes / LearnDash_Settings_Fields /


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

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

Description #

Parameters #


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

Default value: array()


(boolean) (Optional) Flag to wrap field attribute 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 #

Version Description
3.0.0 Introduced.