How to set default buddypress cover image without overriding existing or new one
-
function bp_custom_filter_cover_image() { return '/image.jpg'; } add_filter( 'bp_attachments_pre_get_attachment', 'bp_custom_filter_cover_image' );
Works to set default, but overrides uploaded ones.
What to modify in this function?
- You must be logged in to reply to this topic.