apply_filters( 'bp_core_pre_avatar_handle_crop', bool $value, array $r )

Filters whether or not to handle cropping.

Description

If you want to override this function, make sure you return false.

Parameters

$value

Whether or not to crop.

$r

Array of parsed arguments for function.

Source

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

Changelog

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