Current Path : /storage/v11800/andslite-new/public_html/wp-content/plugins/jetpack/3rd-party/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/andslite-new/public_html/wp-content/plugins/jetpack/3rd-party/buddypress.php |
<?php
/**
* 3rd Party Integration for BuddyPress.
*
* @package automattic/jetpack.
*/
namespace Automattic\Jetpack\Third_Party;
add_filter( 'bp_core_pre_avatar_handle_upload', __NAMESPACE__ . '\blobphoto' );
/**
* Adds filters for skipping photon during pre_avatar_handle_upload.
*
* @param bool $bool Passthrough of filter's original content. No changes made.
*
* @return bool
*/
function blobphoto( $bool ) {
add_filter( 'jetpack_photon_skip_image', '__return_true' );
return $bool;
}