LLMS_Admin_User_Custom_Fields::get_fields()
Retrieve an associative array of custom fields and custom field data
Description Description
Return Return
(array)
Source Source
File: includes/admin/class.llms.admin.user.custom.fields.php
public function get_fields() { $fields = apply_filters( 'lifterlms_get_user_custom_fields', array( 'llms_billing_address_1' => array( 'description' => '', 'label' => __( 'Billing Address 1', 'lifterlms' ), 'required' => false, 'type' => 'text', 'value' => '', ), 'llms_billing_address_2' => array( 'description' => '', 'label' => __( 'Billing Address 2', 'lifterlms' ), 'required' => false, 'type' => 'text', 'value' => '', ), 'llms_billing_city' => array( 'description' => '', 'label' => __( 'Billing City', 'lifterlms' ), 'required' => false, 'type' => 'text', 'value' => '', ), 'llms_billing_state' => array( 'description' => '', 'label' => __( 'Billing State', 'lifterlms' ), 'required' => false, 'type' => 'text', 'value' => '', ), 'llms_billing_zip' => array( 'description' => '', 'label' => __( 'Billing Zip Code', 'lifterlms' ), 'required' => false, 'type' => 'text', 'value' => '', ), 'llms_billing_country' => array( 'description' => '', 'label' => __( 'Billing Country', 'lifterlms' ), 'required' => false, 'type' => 'text', 'value' => '', ), 'llms_phone' => array( 'description' => '', 'label' => __( 'Phone', 'lifterlms' ), 'required' => false, 'type' => 'text', 'value' => '', ), ) ); $this->fields = $fields; return $this->fields; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |