-
J.D. Grimes replied to the topic bp_core_avatar_save action hook missing? in the forum Creating & Extending 11 years, 9 months ago
For anyone else out there who might be interested, here is how I solved the issue.
I overrode
bp_core_avatar_handle_upload
with the following function. It calls bp_core_avatar_handle_upload within it, but […] -
J.D. Grimes replied to the topic bp_core_avatar_save action hook missing? in the forum Creating & Extending 11 years, 9 months ago
I thought of that. But I was hoping for a solution that would be more forward-compatible. In my opinion there really should be a hook.
I was thinking of overriding the function, but calling it within the […]
-
J.D. Grimes replied to the topic bp_core_avatar_save action hook missing? in the forum Creating & Extending 11 years, 9 months ago
Yes, I thought of that, but there’s no way to know whether the upload was successful, is there?
-
J.D. Grimes replied to the topic bp_core_avatar_save action hook missing? in the forum Creating & Extending 11 years, 9 months ago
Hmmm… Well, there is currently no way to hook into a successful group avatar upload. At least none that I can see.
-
J.D. Grimes started the topic bp_core_avatar_save action hook missing? in the forum Creating & Extending 11 years, 9 months ago
I see in the codex that there is supposed to be a hook called ‘bp_core_avatar_save’ in bp-core/bp-core-avatars.php. I have looked for this hook and it isn’t there. I need a hook for a project I’m working on that […]
@jd55
Active 5 months, 3 weeks ago