PluginProbe
WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation / trunk
WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation vtrunk
1.4.48 1.4.47 1.4.46 1.4.45 1.4.44 1.4.43 1.4.42 1.4.41 1.4.40 1.4.39 1.4.38 1.4.37 1.4.36 1.1.2 1.2.0 1.2.1 1.2.2 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 All 64 releases
optin / includes / notice / config.php

config.php in WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation trunk, at includes/notice/config.php

47 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Per-plugin identity for all three promo surfaces — the ONE file to edit when
4 * copying this folder into a sibling WPXPO plugin.
5 *
6 * Read it via Notice::config(), never a bare require: it returns an array, so
7 * require_once would give a second caller `true`.
8 *
9 * Still manual when porting (see README): the namespace in class-notice.php
10 * and the text domain in __() — both compile-time, so neither can live here.
11 */
12
13 defined( 'ABSPATH' ) || exit;
14
15 return array(
16
17 // Builds promo keys, the nonce action, and every transient/query-arg name,
18 // so two WPXPO plugins on one site never collide.
19 'prefix' => 'optn',
20
21 // Base for every image in promos/ — include the image folder, because
22 // WPXPO plugins do not agree on its name (img/, images/, photos/…).
23 // Promo entries then name only what is below it, and a port changes the
24 // folder here instead of in every entry.
25 'asset_url' => OPTN_URL . 'assets/images/',
26
27 // Cross-plugin notice priority (xpo_active_notice_lists filter).
28 'priority_key' => 'wow_optin',
29 'priority' => 7,
30
31 'brand_name' => 'WowOptin',
32 'brand_color' => '#f97415',
33
34 // Pro's headline price, quoted by any promo whose offer is the base price.
35 // Formatted, not numeric: currency and symbol live here so a price change
36 // is one edit for every surface.
37 'pro_price' => '$41',
38
39 // `source` records where the click came from, so it differs per surface —
40 // one key per promos/ file. `campaign` is shared; `medium` is set per promo.
41 'utm_source' => 'db-wowoptin-notice',
42 'utm_source_hellobar' => 'db-wowoptin-hellobar',
43 'utm_source_plugin_meta' => 'db-wowoptin-plugin-meta',
44 'utm_campaign' => 'wowoptin-dashboard',
45
46 );
47