LLMS_Admin_Settings::output_fields( $settings )

Output fields for settings tabs. Dynamically generates fields.


Description Description

Needs to be refactored! Sets up all of the fields..gross…


Top ↑

Return Return

(void)


Top ↑

Source Source

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

197
198
199
200
201
202
203
204
205
206
207
208
209
*/
public static function output_fields( $settings ) {
 
    foreach ( $settings as $field ) {
 
        // Skip item if no field type is set.
        if ( ! isset( $field['type'] ) ) {
            continue; }
 
        // Output the field.
        self::output_field( $field );
 
    }


Top ↑

User Contributed Notes User Contributed Notes

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