PluginProbe ʕ •ᴥ•ʔ
Catalog Booster & Product Catalog Mode for WooCommerce / 1.2.8
Catalog Booster & Product Catalog Mode for WooCommerce v1.2.8
trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.3 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8
catalog-booster-for-woocommerce / functions / activation.php
catalog-booster-for-woocommerce / functions Last commit date
activation.php 2 years ago compatibility.php 9 years ago index.php 2 years ago
activation.php
27 lines
1 <?php
2
3 if ( !defined( 'ABSPATH' ) ) {
4 exit; // Exit if accessed directly
5 }
6
7 /**
8 * Manages activation functions
9 *
10 * Created by Norbert Dreszer.
11 * Date: 19-Feb-15
12 * Time: 13:40
13 * Package: functions/
14 */
15 function ic_woocat_activation() {
16 if ( function_exists( 'impleCode_EPC' ) ) {
17 $ic_woocat = ic_woocat_settings();
18 $ic_woocat[ 'catalog' ][ 'enable' ] = 1;
19 update_option( 'ic_woocat', $ic_woocat );
20 }
21 if ( function_exists( 'implecode_wp_tooltip_add' ) ) {
22 implecode_wp_tooltip_add( __( 'New menu element', 'catalog-booster-for-woocommerce' ), __( 'A new Catalog Booster settings link has been added. Click here to see it.', 'catalog-booster-for-woocommerce' ), 'toplevel_page_woocommerce' );
23 implecode_wp_tooltip_add( __( 'Catalog Booster Settings', 'catalog-booster-for-woocommerce' ), __( 'Click here to modify WooCommerce.', 'catalog-booster-for-woocommerce' ), 'toplevel_page_woocommerce .wp-submenu li:last' );
24 }
25 delete_option( 'IC_WOOCAT_activation_message_done' );
26 }
27