jetpack_table_checksum_force_enable_woocommerce

jetpack_table_checksum_force_enable_woocommerce

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.13.2.1

apply_filters('jetpack_table_checksum_force_enable_woocommerce') is found 2 times:

  • /jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php line 1213
    		 * @since 10.1
    		 *
    		 * @param bool If we should we force-enable WooCommerce tables support.
    		 */
    		$force_woocommerce_support = apply_filters( 'jetpack_table_checksum_force_enable_woocommerce', false );
    
    		if ( $force_woocommerce_support || class_exists( 'WooCommerce' ) ) {
    			/**
    			 * Guard in Try/Catch as it's possible for the WooCommerce class to exist, but
    			 * the tables to not. If we don't do this, the response will be just the exception, without
    			 * returning any valid data. This will prevent us from ever performing a checksum/fix
    
  • /jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum.php line 866
    		 * @since 10.1
    		 *
    		 * @param bool If we should we force-enable WooCommerce tables support.
    		 */
    		$force_woocommerce_support = apply_filters( 'jetpack_table_checksum_force_enable_woocommerce', false );
    
    		// If we're forcing WooCommerce tables support, there's no need to check further.
    		// This is used on WordPress.com.
    		if ( $force_woocommerce_support ) {
    			return true;
    		}