do_action( "{$component}_cover_image_deleted", int $item_id )
Fires if the cover image was successfully deleted.
Description Description
The dynamic portion of the hook will be members in case of a user’s cover image, groups in case of a group’s cover image. For instance: Use add_action( ‘members_cover_image_deleted’ ) to run your specific code once the user has deleted his cover image.
Parameters Parameters
- $item_id
-
Inform about the item id the cover image was deleted for.
Source Source
File: bp-core/bp-core-attachments.php
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |