jetpack_force_enable_gallery_widget, false

jetpack_force_enable_gallery_widget, false

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_force_enable_gallery_widget, false') is found 1 times:

  • /modules/widgets/gallery.php line 517
    	 *
    	 * @param bool false Whether to force-enable the gallery widget
    	 */
    	if (
    		! apply_filters( 'jetpack_force_enable_gallery_widget', false )
    		&& class_exists( 'WP_Widget_Media_Gallery' )
    		&& Jetpack_Options::get_option( 'gallery_widget_migration' )
    	) {
    		return;
    	}
    	if ( ! method_exists( 'Jetpack', 'is_module_active' ) || Jetpack::is_module_active( 'tiled-gallery' ) ) {