bp_core_cover_image_scripts()
Enqueues the css and js required by the Cover Photo UI.
Description
Source
File: bp-core/bp-core-cssjs.php
function bp_core_cover_image_scripts() {
if ( ! bp_attachments_cover_image_is_edit() ) {
return false;
}
// Enqueue the Attachments scripts for the Cover Photo UI.
bp_attachments_enqueue_scripts( 'BP_Attachment_Cover_Image' );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 2.4.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.