| Server IP : 119.59.104.26 / Your IP : 216.73.217.55 Web Server : Apache/2 System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64 User : com12370 ( 1517) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/com12370/public_html/wp-content/plugins/woocommerce-admin/src/Notes/ |
Upload File : |
<?php
/**
* WooCommerce Admin: Confirm tax settings
*
* Adds a note to ask the user to confirm tax settings after automated taxes
* has been automatically enabled (see OnboardingAutomateTaxes).
*/
namespace Automattic\WooCommerce\Admin\Notes;
defined( 'ABSPATH' ) || exit;
/**
* ConfirmTaxSettings.
*/
class ConfirmTaxSettings {
/**
* Note traits.
*/
use NoteTraits;
/**
* Name of the note for use in the database.
*/
const NOTE_NAME = 'wc-admin-confirm-tax-settings';
/**
* Get the note.
*
* @return Note
*/
public static function get_note() {
$note = new Note();
$note->set_title( __( 'Confirm tax settings', 'woocommerce-admin' ) );
$note->set_content( __( 'Automated tax calculations are enabled on your store through WooCommerce Shipping & Tax. Learn more about automated taxes <a href="https://docs.woocommerce.com/document/woocommerce-services/#section-12">here</a>.', 'woocommerce-admin' ) );
$note->set_source( 'woocommerce-admin' );
$note->add_action(
'confirm-tax-settings_edit-tax-settings',
__( 'Edit tax settings', 'woocommerce-admin' ),
admin_url( 'admin.php?page=wc-settings&tab=tax' ),
Note::E_WC_ADMIN_NOTE_UNACTIONED,
true
);
return $note;
}
}