PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-admin
/
src
/
Notes
<?php /** * WooCommerce Admin: Insight - First product and payment setup * * Adds a note to give insight about the first product and payment setup * * @package WooCommerce\Admin */ namespace Automattic\WooCommerce\Admin\Notes; defined( 'ABSPATH' ) || exit; /** * Insight_First_Sale. */ class InsightFirstProductAndPayment { /** * Note traits. */ use NoteTraits; /** * Name of the note for use in the database. */ const NOTE_NAME = 'wc-admin-insight-first-product-and-payment'; /** * Get the note. * * @return Note */ public static function get_note() { // We want to show the note after 1 day. if ( ! self::wc_admin_active_for( DAY_IN_SECONDS ) ) { return; } $note = new Note(); $note->set_title( __( 'Insight', 'woocommerce' ) ); $note->set_content( __( 'More than 80% of new merchants add the first product and have at least one payment method set up during the first week.<br><br>Do you find this type of insight useful?', 'woocommerce' ) ); $note->set_type( Note::E_WC_ADMIN_NOTE_SURVEY ); $note->set_name( self::NOTE_NAME ); $note->set_content_data( (object) array() ); $note->set_source( 'woocommerce-admin' ); $note->add_action( 'affirm-insight-first-product-and-payment', __( 'Yes', 'woocommerce' ), false, Note::E_WC_ADMIN_NOTE_ACTIONED, false, __( 'Thanks for your feedback', 'woocommerce' ) ); $note->add_action( 'affirm-insight-first-product-and-payment', __( 'No', 'woocommerce' ), false, Note::E_WC_ADMIN_NOTE_ACTIONED, false, __( 'Thanks for your feedback', 'woocommerce' ) ); return $note; } }
[-] LearnMoreAboutVariableProducts.php
[edit]
[-] GivingFeedbackNotes.php
[edit]
[-] WooCommerceSubscriptions.php
[edit]
[-] DeprecatedNotes.php
[edit]
[-] SellingOnlineCourses.php
[edit]
[-] FirstProduct.php
[edit]
[+]
MerchantEmailNotifications
[-] ChoosingTheme.php
[edit]
[-] ManageOrdersOnTheGo.php
[edit]
[-] Marketing.php
[edit]
[-] ManageStoreActivityFromHomeScreen.php
[edit]
[+]
..
[-] MobileApp.php
[edit]
[-] CustomizingProductCatalog.php
[edit]
[-] NavigationNudge.php
[edit]
[-] CouponPageMoved.php
[edit]
[-] ConfirmTaxSettings.php
[edit]
[-] NavigationFeedbackFollowUp.php
[edit]
[-] AddFirstProduct.php
[edit]
[-] InsightFirstSale.php
[edit]
[-] OrderMilestones.php
[edit]
[-] Notes.php
[edit]
[-] NavigationFeedback.php
[edit]
[-] TrackingOptIn.php
[edit]
[-] DrawAttention.php
[edit]
[-] OnboardingPayments.php
[edit]
[-] WooCommercePayments.php
[edit]
[-] PersonalizeStore.php
[edit]
[-] TestCheckout.php
[edit]
[-] NotesUnavailableException.php
[edit]
[-] Note.php
[edit]
[-] FilterByProductVariationsInReports.php
[edit]
[-] GettingStartedInEcommerceWebinar.php
[edit]
[-] SetUpAdditionalPaymentTypes.php
[edit]
[-] LaunchChecklist.php
[edit]
[-] MarketingJetpack.php
[edit]
[-] StartDropshippingBusiness.php
[edit]
[-] WooSubscriptionsNotes.php
[edit]
[-] ChooseNiche.php
[edit]
[-] RealTimeOrderAlerts.php
[edit]
[-] OnboardingEmailMarketing.php
[edit]
[-] DataStore.php
[edit]
[-] NewSalesRecord.php
[edit]
[-] AddingAndManangingProducts.php
[edit]
[-] InstallJPAndWCSPlugins.php
[edit]
[-] InsightFirstProductAndPayment.php
[edit]
[-] EditProductsOnTheMove.php
[edit]
[-] DeactivatePlugin.php
[edit]
[-] FirstDownlaodableProduct.php
[edit]
[-] EUVATNumber.php
[edit]
[-] OnlineClothingStore.php
[edit]
[-] MigrateFromShopify.php
[edit]
[-] CustomizeStoreWithBlocks.php
[edit]
[-] PerformanceOnMobile.php
[edit]
[-] WelcomeToWooCommerceForStoreUsers.php
[edit]
[-] OnboardingTraits.php
[edit]
[-] NoteTraits.php
[edit]
[-] NeedSomeInspiration.php
[edit]