Update content and timing of NeedSomeInspiration.php. (https://github.com/woocommerce/woocommerce-admin/pull/6076)
This commit is contained in:
parent
24ccd6803b
commit
2f1946b408
|
@ -71,6 +71,9 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
|
|||
2. Activity Panels
|
||||
3. Analytics
|
||||
|
||||
== Unreleased ==
|
||||
- Tweak: update the content and timing of the NeedSomeInspiration note. #6076
|
||||
|
||||
== Changelog ==
|
||||
|
||||
== 1.9.0 1/15/2021 ==
|
||||
|
|
|
@ -29,8 +29,8 @@ class NeedSomeInspiration {
|
|||
* @return Note
|
||||
*/
|
||||
public static function get_note() {
|
||||
// We want to show the note after five days.
|
||||
if ( ! self::wc_admin_active_for( 5 * DAY_IN_SECONDS ) ) {
|
||||
// We want to show the note after 4 days.
|
||||
if ( ! self::wc_admin_active_for( 4 * DAY_IN_SECONDS ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -56,8 +56,8 @@ class NeedSomeInspiration {
|
|||
}
|
||||
|
||||
$note = new Note();
|
||||
$note->set_title( __( 'Do you need some inspiration?', 'woocommerce-admin' ) );
|
||||
$note->set_content( __( 'Check some of our favorite customer stories from entrepreneurs, agencies, and developers in our global community.', 'woocommerce-admin' ) );
|
||||
$note->set_title( __( 'Browse our success stories', 'woocommerce-admin' ) );
|
||||
$note->set_content( __( 'Learn more about how other entrepreneurs used WooCommerce to build successful businesses.', 'woocommerce-admin' ) );
|
||||
$note->set_type( Note::E_WC_ADMIN_NOTE_INFORMATIONAL );
|
||||
$note->set_name( self::NOTE_NAME );
|
||||
$note->set_content_data( (object) array() );
|
||||
|
|
Loading…
Reference in New Issue