jetpack_activitypub_post_disable_cdn
jetpack_activitypub_post_disable_cdn
Appears in: jetpack.12.2.1, jetpack.12.3, jetpack.12.5, jetpack.12.6, jetpack.12.6.1, jetpack.12.7.1, jetpack.12.8, jetpack.12.8.1, jetpack.12.9, jetpack.12.9.3, jetpack.13.0, jetpack.13.1.1, jetpack.13.1.3, jetpack.13.2, jetpack.13.2.1, jetpack.13.3.1, jetpack.13.5, jetpack.13.6, jetpack.13.7, jetpack.13.8, jetpack.13.8.1, jetpack.13.9.1, jetpack.14.0, jetpack.14.1
Hook Type: filter
Displaying hooks found in version: jetpack.14.1apply_filters('jetpack_activitypub_post_disable_cdn') is found 1 times:
- /jetpack_vendor/automattic/jetpack-image-cdn/src/compatibility/activitypub.php line 30
* @since 0.2.2 * * @param bool $should_disable_photon Should the CDN be disabled for that request. Default to false. */ apply_filters( 'jetpack_activitypub_post_disable_cdn', false ) ) { add_action( 'activitypub_get_image_pre', __NAMESPACE__ . '\disable_photon' ); add_action( 'activitypub_get_image_post', __NAMESPACE__ . '\enable_photon' ); } } add_action( 'plugins_loaded', __NAMESPACE__ . '\load_activitypub_compat' );