BP_REST_Account_Settings_Options_Endpoint::get_export_fields()
Get Fields for the Export “Export Data”.
Description
- From: ‘members/single/settings/export-data’
Return
(array|mixed|void)
Source
File: bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php
public function get_export_fields() { $fields = array( array( 'name' => 'member-data-export-submit', 'label' => __( 'Request Data Export', 'buddyboss' ), 'field' => 'button', 'value' => '', 'options' => array(), 'group_label' => '', ), ); $fields = apply_filters( 'bp_rest_account_settings_export', $fields ); return $fields; }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.