use_widgets_block_editor

use_widgets_block_editor

Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.11.4.0

apply_filters('use_widgets_block_editor') is found 1 times:

  • /bp-core/bp-core-widgets.php line 25
    	$theme_supports = current_theme_supports( 'widgets-block-editor' );
    	$wp_supports    = bp_is_running_wp( '5.8.0' );
    
    	/** This filter is documented in wp-includes/widgets.php */
    	$block_widgets_enabled = $theme_supports && apply_filters( 'use_widgets_block_editor', $wp_supports );
    
    	$retain_legacy_widgets = true;
    	if ( $block_widgets_enabled ) {
    		$retain_legacy_widgets = false;
    	}