LLMS_Admin_User_Custom_Fields::get_fields()

Retrieve an associative array of custom fields and custom field data


Description Description


Return Return

(array)


Top ↑

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;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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