' . esc_html__( 'Settings', 'kanasta' ) . '' );
return $links;
}
/**
* Ask for the WhatsApp number until it is set (Plugins screen only).
*/
public static function setup_notice() {
$screen = get_current_screen();
if ( ! $screen || 'plugins' !== $screen->id || ! current_user_can( 'manage_woocommerce' ) || '' !== Kanasta_Settings::get( 'phone' ) ) {
return;
}
printf(
'
',
esc_html__( 'Kanasta is almost ready: add your store WhatsApp number to start receiving orders.', 'kanasta' ),
esc_url( admin_url( 'admin.php?page=' . Kanasta_Settings::PAGE ) ),
esc_html__( 'Add number', 'kanasta' )
);
}
/**
* Pro features box under the settings form (free version only).
*/
public static function pro_box() {
if ( Kanasta_Plugin::is_pro() ) {
return;
}
$features = array(
__( 'Several WhatsApp numbers (sales team) with automatic rotation', 'kanasta' ),
__( 'Business hours: hide the buttons or show a notice when you are closed', 'kanasta' ),
__( 'One-click WhatsApp messages to the customer from the order screen (order confirmed, shipped, ready for pickup, payment reminder)', 'kanasta' ),
);
?>