File "wt_product_import_export_welcome-script.php"
Full Path: /home/vantageo/public_html/cache/cache/cache/cache/.wp-cli/wp-content/plugins/product-import-export-for-woo/wt_product_import_export_welcome-script.php
File size: 574 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
// If this file is called directly, abort.
if (!defined('WPINC')) {
die;
}
add_action('admin_init', 'wt_product_welcome');
function wt_product_activation_check() {
set_transient('_product_welcome_screen_activation_redirect', true, 30);
}
function wt_product_welcome() {
if (!get_transient('_product_welcome_screen_activation_redirect')) {
return;
}
delete_transient('_product_welcome_screen_activation_redirect');
wp_safe_redirect(add_query_arg(array('page' => 'wt_import_export_for_woo_basic_export'), admin_url('admin.php')));
}