user_profile_picture_description

過濾鉤子
apply_filters( 'user_profile_picture_description', $description, $profile_user )
引數
  • (string) $description The description that will be printed.
    Required:
  • (WP_User) $profile_user The current WP_User object.
    Required:
定義位置
相關勾子
user_profile_update_errorsget_the_post_type_descriptionpre_user_descriptionget_the_archive_descriptionuser_request_action_description
相關方法
get_file_descriptionget_the_author_descriptionget_the_post_type_descriptionget_the_archive_descriptionwp_widget_descriptionwp_sidebar_description
引入
4.7.0
棄用
-

“user_profile_picture_description” – 這是一個過濾器鉤子,允許修改使用者個人資料中個人資料圖片欄位的描述文字。

過濾顯示在Gravatar下的使用者資料圖片描述。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
echo apply_filters( 'user_profile_picture_description', $description, $profile_user );
echo apply_filters( 'user_profile_picture_description', $description, $profile_user );
echo apply_filters( 'user_profile_picture_description', $description, $profile_user );

常見問題

FAQs
檢視更多 >