Warning: This function has been deprecated.
xprofile_screen_change_cover_image()
Displays the change cover image page.
Description Description
Source Source
File: bp-core/deprecated/6.0.php
function xprofile_screen_change_cover_image() { // Bail if not the correct screen. if ( ! bp_is_my_profile() && ! bp_current_user_can( 'bp_moderate' ) ) { return false; } /** * Fires right before the loading of the XProfile change cover image screen template file. * * @since 2.4.0 */ do_action( 'xprofile_screen_change_cover_image' ); /** * Filters the template to load for the XProfile cover image screen. * * @since 2.4.0 * * @param string $template Path to the XProfile cover image template to load. */ bp_core_load_template( apply_filters( 'xprofile_template_cover_image', 'members/single/home' ) ); }
Changelog Changelog
Version | Description |
---|---|
6.0.0 | This function has been deprecated. |
2.4.0 | Introduced. |