AdditionalPayments.php
1 year ago
Appearance.php
2 years ago
CustomizeStore.php
5 months ago
ExperimentalShippingRecommendation.php
5 months ago
ExtendStore.php
1 year ago
GetMobileApp.php
3 years ago
LaunchYourStore.php
2 years ago
Marketing.php
7 months ago
Payments.php
10 months ago
Products.php
1 month ago
ReviewShippingOptions.php
3 years ago
Shipping.php
3 months ago
StoreCreation.php
4 years ago
StoreDetails.php
3 years ago
Tax.php
1 year ago
TourInAppMarketplace.php
2 years ago
WooCommercePayments.php
5 months ago
StoreCreation.php
78 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks; |
| 4 | |
| 5 | use Automattic\WooCommerce\Admin\Features\Onboarding; |
| 6 | use Automattic\WooCommerce\Admin\Features\OnboardingTasks\Task; |
| 7 | |
| 8 | /** |
| 9 | * Store Details Task |
| 10 | */ |
| 11 | class StoreCreation extends Task { |
| 12 | |
| 13 | /** |
| 14 | * ID. |
| 15 | * |
| 16 | * @return string |
| 17 | */ |
| 18 | public function get_id() { |
| 19 | return 'store_creation'; |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * Title. |
| 24 | * |
| 25 | * @return string |
| 26 | */ |
| 27 | public function get_title() { |
| 28 | /* translators: Store name */ |
| 29 | return sprintf( __( 'You created %s', 'woocommerce' ), get_bloginfo( 'name' ) ); |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Content. |
| 34 | * |
| 35 | * @return string |
| 36 | */ |
| 37 | public function get_content() { |
| 38 | return ''; |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Time. |
| 43 | * |
| 44 | * @return string |
| 45 | */ |
| 46 | public function get_time() { |
| 47 | return ''; |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Time. |
| 52 | * |
| 53 | * @return string |
| 54 | */ |
| 55 | public function get_action_url() { |
| 56 | return ''; |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * Task completion. |
| 61 | * |
| 62 | * @return bool |
| 63 | */ |
| 64 | public function is_complete() { |
| 65 | return true; |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Check if task is disabled. |
| 70 | * |
| 71 | * @return bool |
| 72 | */ |
| 73 | public function is_disabled() { |
| 74 | return true; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 |