bp_displayed_user_use_cover_image_header()

Should we use the cover image header


Description Description


Return Return

(bool) True if the displayed user has a cover image, False otherwise


Top ↑

Source Source

File: bp-members/bp-members-template.php

function bp_displayed_user_use_cover_image_header() {
	return (bool) bp_is_active( 'xprofile', 'cover_image' ) && ! bp_disable_cover_image_uploads() && bp_attachments_is_wp_version_supported();
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.