Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
plugins
/
google-listings-and-ads
/
src
/
Notes
:
Note.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare( strict_types=1 ); namespace Automattic\WooCommerce\GoogleListingsAndAds\Notes; use Automattic\WooCommerce\Admin\Notes\Note as NoteEntry; defined( 'ABSPATH' ) || exit; /** * Note interface. * * @since 1.7.0 * * @package Automattic\WooCommerce\GoogleListingsAndAds\Notes */ interface Note { /** * Get the note's unique name. * * @return string */ public function get_name(): string; /** * Check whether the note should be added. */ public function should_be_added(): bool; /** * Get the note entry. */ public function get_entry(): NoteEntry; }