[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Filters related to the Settings component. 4 * 5 * @package BuddyPress 6 * @subpackage SettingsFilters 7 * @since 4.0.0 8 */ 9 10 // Personal data export. 11 add_filter( 'wp_privacy_personal_data_exporters', 'bp_settings_register_personal_data_exporter' ); 12 13 /** 14 * Registers Settings personal data exporter. 15 * 16 * @since 4.0.0 17 * @since 5.0.0 adds an `exporter_bp_friendly_name` param to exporters. 18 * 19 * @param array $exporters An array of personal data exporters. 20 * @return array An array of personal data exporters. 21 */ 22 function bp_settings_register_personal_data_exporter( $exporters ) { 23 $exporters['buddypress-settings'] = array( 24 'exporter_friendly_name' => __( 'BuddyPress Settings Data', 'buddypress' ), 25 'callback' => 'bp_settings_personal_data_exporter', 26 'exporter_bp_friendly_name' => _x( 'Personal settings', 'BuddyPress Settings Data data exporter friendly name', 'buddypress' ), 27 ); 28 29 return $exporters; 30 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |