apply_filters ( 'jetpack_blaze_enabled', bool $should_initialize )

Filter to disable all Blaze functionality.

Source file: jetpack_vendor/automattic/jetpack-blaze/src/class-blaze.php

View in GitHub

Parameters

$should_initialize

(bool) Whether Blaze should be enabled. Default to true.


Changelog

Since: Jetpack 0.3.0


How to use this hook

See Using actions and filters to customize Jetpack.

Notes

This filter can be used to disable Jetpack’s Blaze functionality. To do so, add the following snippet to your site:

add_filter( 'jetpack_blaze_enabled', '__return_false' );

Have a note to contribute?

Comments

  1. gabeshepherd says:

    In which file do you add the snippet?