Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/woocomme.../src/Blocks
File: InboxNotifications.php
<?php
[0] Fix | Delete
namespace Automattic\WooCommerce\Blocks;
[1] Fix | Delete
[2] Fix | Delete
use Automattic\WooCommerce\Admin\Notes\Note;
[3] Fix | Delete
use Automattic\WooCommerce\Admin\Notes\Notes;
[4] Fix | Delete
[5] Fix | Delete
/**
[6] Fix | Delete
* A class used to display inbox messages to merchants in the WooCommerce Admin dashboard.
[7] Fix | Delete
*
[8] Fix | Delete
* @package Automattic\WooCommerce\Blocks
[9] Fix | Delete
* @since x.x.x
[10] Fix | Delete
*/
[11] Fix | Delete
class InboxNotifications {
[12] Fix | Delete
[13] Fix | Delete
const SURFACE_CART_CHECKOUT_NOTE_NAME = 'surface_cart_checkout';
[14] Fix | Delete
[15] Fix | Delete
/**
[16] Fix | Delete
* Deletes the note.
[17] Fix | Delete
*/
[18] Fix | Delete
public static function delete_surface_cart_checkout_blocks_notification() {
[19] Fix | Delete
Notes::delete_notes_with_name( self::SURFACE_CART_CHECKOUT_NOTE_NAME );
[20] Fix | Delete
}
[21] Fix | Delete
}
[22] Fix | Delete
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function