bp_core_get_allowed_avatar_mimes()

Get allowed avatar mime types.

Description

Return

(array)

Source

File: bp-core/bp-core-avatars.php

function bp_core_get_allowed_avatar_mimes() {
	$allowed_types  = bp_core_get_allowed_avatar_types();

	return bp_attachments_get_allowed_mimes( 'avatar', $allowed_types );
}

Changelog

Changelog
Version Description
BuddyPress 2.3.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.