File Editor
Directories:
.. (Back)
debug-bar
Files:
3rd-party.php
amp.php
atomic.php
bbpress.php
beaverbuilder.php
bitly.php
buddypress.php
class-domain-mapping.php
class-jetpack-bbpress-rest-api.php
class-salesforce-lead-form.php
class.jetpack-amp-support.php
creative-mail.php
crowdsignal.php
debug-bar.php
jetpack-backup.php
jetpack-boost.php
qtranslate-x.php
vaultpress.php
web-stories.php
woocommerce-services.php
woocommerce.php
wpml.php
Create New File
Create
Edit File: 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; }
Save Changes
Rename File
Rename