bp_blogs_register_custom_site_icon_size

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

Description

(array) bp_blogs_register_custom_site_icon_size( (array) $sizes ); 

Returns (array)

Parameters (1)

0. $sizes (array)
Current array of custom site icon sizes.

Usage

  1. if ( !function_exists( 'bp_blogs_register_custom_site_icon_size' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-blogs/bp-blogs-filters.php'; 
  3.  
  4. // Current array of custom site icon sizes. 
  5. $sizes = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_blogs_register_custom_site_icon_size($sizes); 
  9.  

Defined (1)

The function is defined in the following location(s).

/bp-blogs/bp-blogs-filters.php  
  1. function bp_blogs_register_custom_site_icon_size( $sizes ) { 
  2. return $sizes;