[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Settings Functions
File Size: | 363 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bp_settings_update_notification_settings( $user_id, $settings ) X-Ref |
Update email notification settings for a specific user. param: int $user_id ID of the user whose settings are being updated. param: array $settings Settings array. since: 2.3.5 |
bp_settings_sanitize_notification_settings( $settings = array() X-Ref |
Sanitize email notification settings as submitted by a user. return: array Sanitized settings. param: array $settings Array of settings. since: 2.3.5 |
bp_settings_get_registered_notification_keys() X-Ref |
Build a dynamic list of allowed notification keys, based on what's hooked to 'bp_notification_settings'. return: array since: 2.3.5 |
bp_settings_personal_data_exporter( $email_address, $page ) X-Ref |
Finds and exports personal data associated with an email address from the Settings component. return: array An array of personal data. param: string $email_address The user's email address. param: int $page Batch number. since: 4.0.0 |
bp_settings_get_personal_data_request( $user_id = 0 ) X-Ref |
Fetches a user's personal data request. return: WP_User_Request|bool WP_User_Request object on success, bool false on failure. param: int $user_id WP user ID. since: 4.0.0 |
bp_settings_get_personal_data_expiration_date( WP_User_Request $request ) X-Ref |
Fetches the expiration date for when a user request expires. return: string Formatted date. param: WP_User_Request $request User request object. since: 4.0.0 |
bp_settings_get_personal_data_confirmation_date( WP_User_Request $request ) X-Ref |
Fetches the confirmation date for a user request object. return: string Formatted date for the confirmation date. param: WP_User_Request $request User request object. since: 4.0.0 |
bp_settings_get_personal_data_export_url( WP_User_Request $request ) X-Ref |
Fetches the URL for a personal data export file. return: string Export file URL. param: WP_User_Request $request User request object. since: 4.0.0 |
bp_settings_personal_data_export_exists( WP_User_Request $request ) X-Ref |
Check if the generated data export file still exists or not. return: bool param: WP_User_Request $request User request object. since: 4.0.0 |
bp_settings_data_exporter_items() X-Ref |
Template tag to output a list of data exporter items. Piggybacks off of the 'wp_privacy_personal_data_exporters' filter and the 'exporter_friendly_name' key, which is meant for the admin area. since: 4.0.0 since: 5.0.0 Looks for a potential exporter's BP/custom friendly name. |
Generated: Thu Nov 21 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |