芝麻web文件管理V1.00
编辑当前文件:/home/projzpbv/public_html/wp-content/plugins/mailpoet/lib/Util/Notices/ChangedTrackingNotice.php
wp = $wp; } public function init($shouldDisplay) { if ($shouldDisplay && $this->wp->getTransient(self::OPTION_NAME)) { return $this->display(); } return null; } public function display() { $text = __('Email open and click tracking is now enabled. You can change how MailPoet tracks your subscribers in [link]Settings[/link]', 'mailpoet'); $text = Helpers::replaceLinkTags($text, 'admin.php?page=mailpoet-settings#advanced'); $extraClasses = 'mailpoet-dismissible-notice is-dismissible'; return Notice::displayWarning($text, $extraClasses, self::OPTION_NAME); } public function disable() { $this->wp->deleteTransient(self::OPTION_NAME); } }