[buddypress-trac] [BuddyPress Trac] #6570: Add UI for adding Profile Header Images for Users and Groups
buddypress-trac
noreply at wordpress.org
Tue Sep 29 22:23:27 UTC 2015
#6570: Add UI for adding Profile Header Images for Users and Groups
-------------------------------------------+------------------
Reporter: mercime | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4
Component: API | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch commit |
-------------------------------------------+------------------
Comment (by imath):
In [changeset:"10154"]:
{{{
#!CommitTicketReference repository="" revision="10154"
Add Cover Images specific functions to the BP Attachments API
The most important function is
`bp_attachments_get_cover_image_settings()`. This function is getting the
Cover Image feature settings and include filters to customize this setting
thanks to the use of the `bp_parse_args()` function.
If you need to customize each setting of the feature, you can use for
instance the `bp_before_xprofile_cover_image_settings_parse_args` or the
`bp_before_groups_cover_image_settings_parse_args` filters.
You can also add an extra setting "default_cover" if you wish to use a
specific cover if the user or the group have not set their cover image
yet.
Props DJPaul, hnla
See #6570
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6570#comment:55>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list