最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

actions - profile_update hook does not fire from front-end

programmeradmin2浏览0评论

I'm using BuddyPress to allow users to log in on the Front end. Once logged in, they can click on 'My Account'. On this page they can upload avatars, edit their account information, etc.

When I upload a new avatar from this page, the 'profile_update' hook does not fire.

If I remain logged in as the same user and navigate to the backend (/wp-admin) and upload a new avatar from there, the 'profile_update' hook fires successfully.

Why would the hook only fire when accessed from /wp-admin and not the website front end ?

发布评论

评论列表(0)

  1. 暂无评论