: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Themify Compatibility Code
* @link https://toolset.com
class Themify_Compat_wpviews {
if ( function_exists( 'has_blocks' ) ) {
add_filter( 'themify_deq_css', [ __CLASS__, 'themify_deq_css' ] );
public static function themify_deq_css( $css ) {
if ( ( $key = array_search( 'wp-block-library', $css ) ) !== false ) {
global $wp_query, $WPV_settings;
$queried_term = $wp_query->get_queried_object();
if ( has_blocks( $WPV_settings[ 'view_taxonomy_loop_' . $queried_term->taxonomy ] ) ) {