ExtendStore.php
<?php
namespace Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks;
use Automattic\WooCommerce\Admin\Features\OnboardingTasks\Task;
/**
* ExtendStore Task
*/
class ExtendStore extends Task {
/**
* ID.
*
* @return string
*/
public function get_id() {
return 'extend-store';
}
/**
* Title.
*
* @return string
*/
public function get_title() {
return __( 'Power up your store with business-critical features', 'woocommerce' );
}
/**
* Content.
*
* @return string
*/
public function get_content() {
return '';
}
/**
* Additional info.
*
* @return string
*/
public function get_additional_info() {
return __(
'Visit the Official WooCommerce Marketplace to access hundreds of vetted products and services',
'woocommerce'
);
}
/**
* Time.
*
* @return string
*/
public function get_time() {
return '';
}
/**
* Task completion.
*
* @return bool
*/
public function is_complete() {
return $this->is_visited();
}
/**
* Always dismissable.
*
* @return bool
*/
public function is_dismissable() {
return false;
}
/**
* Action URL.
*
* @return string
*/
public function get_action_url() {
return admin_url( 'admin.php?page=wc-admin&path=/extensions' );
}
}