bp_blogs_register_custom_site_icon_size( array $sizes )

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


Description Description


Parameters Parameters

$sizes

(Required) Current array of custom site icon sizes.


Top ↑

Return Return

(array)


Top ↑

Source 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;
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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