bp_blogs_register_custom_site_icon_size( array $sizes )

Registers our custom thumb size with WP’s Site Icon feature.

Description

Parameters

$sizes

(array) (Required) Current array of custom site icon sizes.

Return

(array)

Source

File: bp-blogs/bp-blogs-filters.php

function bp_blogs_register_custom_site_icon_size( $sizes ) {
	$sizes[] = bp_core_avatar_thumb_width();
	return $sizes;
}

Changelog

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