__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/**
 * WooCommerce Admin Personalize Your Store Note Provider.
 *
 * Adds a note to the merchant's inbox prompting them to personalize their store.
 */

namespace Automattic\WooCommerce\Internal\Admin\Notes;

defined( 'ABSPATH' ) || exit;

use Automattic\WooCommerce\Admin\Notes\Note;
use Automattic\WooCommerce\Admin\Notes\NoteTraits;

/**
 * Personalize_Store
 */
class PersonalizeStore {
	/**
	 * Note traits.
	 */
	use NoteTraits;

	/**
	 * Name of the note for use in the database.
	 */
	const NOTE_NAME = 'wc-admin-personalize-store';

	/**
	 * Get the note.
	 *
	 * @return Note
	 */
	public static function get_note() {
		// Only show the note to stores with homepage.
		$homepage_id = get_option( 'woocommerce_onboarding_homepage_post_id', false );
		if ( ! $homepage_id ) {
			return;
		}

		// Show the note after task list is done.
		$is_task_list_complete = get_option( 'woocommerce_task_list_complete', false );

		// We want to show the note after day 5.
		$five_days_in_seconds = 5 * DAY_IN_SECONDS;

		if ( ! self::is_wc_admin_active_in_date_range( 'week-1-4', $five_days_in_seconds ) && ! $is_task_list_complete ) {
			return;
		}

		$content = __( 'The homepage is one of the most important entry points in your store. When done right it can lead to higher conversions and engagement. Don\'t forget to personalize the homepage that we created for your store during the onboarding.', 'woocommerce' );

		$note = new Note();
		$note->set_title( __( 'Personalize your store\'s homepage', 'woocommerce' ) );
		$note->set_content( $content );
		$note->set_content_data( (object) array() );
		$note->set_type( Note::E_WC_ADMIN_NOTE_INFORMATIONAL );
		$note->set_name( self::NOTE_NAME );
		$note->set_source( 'woocommerce-admin' );
		$note->add_action( 'personalize-homepage', __( 'Personalize homepage', 'woocommerce' ), admin_url( 'post.php?post=' . $homepage_id . '&action=edit' ), Note::E_WC_ADMIN_NOTE_ACTIONED );
		return $note;
	}
}

Filemanager

Name Type Size Permission Actions
CustomizeStoreWithBlocks.php File 2.35 KB 0664
CustomizingProductCatalog.php File 2.2 KB 0664
EUVATNumber.php File 1.63 KB 0664
EditProductsOnTheMove.php File 1.68 KB 0664
EmailImprovements.php File 2.82 KB 0664
FirstProduct.php File 2.18 KB 0664
GivingFeedbackNotes.php File 1.5 KB 0664
InstallJPAndWCSPlugins.php File 4.58 KB 0664
LaunchChecklist.php File 1.68 KB 0664
MagentoMigration.php File 2.45 KB 0664
ManageOrdersOnTheGo.php File 1.54 KB 0664
MarketingJetpack.php File 3.68 KB 0664
MigrateFromShopify.php File 2.21 KB 0664
MobileApp.php File 1.39 KB 0664
NewSalesRecord.php File 5.25 KB 0664
OnboardingPayments.php File 1.74 KB 0664
OnlineClothingStore.php File 2.68 KB 0664
OrderMilestones.php File 9.15 KB 0664
PaymentsMoreInfoNeeded.php File 2.01 KB 0664
PaymentsRemindMeLater.php File 1.94 KB 0664
PerformanceOnMobile.php File 1.64 KB 0664
PersonalizeStore.php File 1.91 KB 0664
RealTimeOrderAlerts.php File 1.51 KB 0664
SellingOnlineCourses.php File 2.38 KB 0664
TrackingOptIn.php File 3.17 KB 0664
UnsecuredReportFiles.php File 2.12 KB 0664
WooCommercePayments.php File 6.25 KB 0664
WooCommerceSubscriptions.php File 1.88 KB 0664
WooSubscriptionsNotes.php File 13.25 KB 0664
Filemanager