Browse: Home / Classes / LearnDash_Settings_Fields /


LearnDash_Settings_Fields::get_field_attribute_class( array $field_args = array(),  bool $wrap = true )

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

Description #

Parameters #


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

Default value: array()


(bool) (Optional) Whether to create a CSS class from the field args.

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.