wp_privacy_additional_user_profile_data

過濾鉤子
apply_filters( 'wp_privacy_additional_user_profile_data', array()
引數
  • (array) $additional_user_profile_data { An array of name-value pairs of additional user data items. Default empty array. @type string $name The user-facing name of an item name-value pair,e.g. 'IP Address'. @type string $value The user-facing value of an item data pair, e.g. '50.60.70.0'. }
    Required:
  • (WP_User) $user The user whose data is being exported.
    Required:
  • (string[]) $reserved_names An array of reserved names. Any item in `$additional_user_data` that uses one of these for its `name` will not be included in the export.
    Required:
定義位置
相關勾子
edit_user_profile_updatewp_privacy_personal_data_export_file_createdwp_pre_insert_user_datawp_privacy_personal_data_erasededit_user_profile
相關方法
wp_privacy_anonymize_data_get_additional_user_keys_wp_privacy_action_request_typeswp_ajax_wp_privacy_erase_personal_datawp_privacy_anonymize_ip_wp_privacy_settings_filter_draft_page_titles
引入
5.4.0
棄用
-

wp_privacy_additional_user_profile_data: 這是一個在使用者個人資料頁面新增附加資料的過濾器。使用此過濾器可以為使用者的個人資料頁面新增其他資料,例如額外的使用者資訊或外掛的額外資訊。

為隱私匯出器過濾使用者的個人資料資料。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$_extra_data = apply_filters( 'wp_privacy_additional_user_profile_data', array(), $user, $reserved_names );
$_extra_data = apply_filters( 'wp_privacy_additional_user_profile_data', array(), $user, $reserved_names );
$_extra_data = apply_filters( 'wp_privacy_additional_user_profile_data', array(), $user, $reserved_names );

常見問題

FAQs
檢視更多 >