PluginProbe
YayMail – WooCommerce Email Customizer / 4.4.5
YayMail – WooCommerce Email Customizer v4.4.5
4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 All 57 releases
← All changes | vendor-prefixed/src/Registry/AddonLicenseAdapter.php +17 -18 4.4.2 → 4.4.5 View file →
@@ -6,9 +6,8 @@
6 6 /**
7 7 * Minimal LicenseConfigAdapter built from addon filter data.
8 8 * Used by AddonBridge to satisfy License constructor and card templates
9 9 * without requiring a full plugin adapter implementation.
10 - * @internal
11 10 */
12 11 class AddonLicenseAdapter implements LicenseConfigAdapter
13 12 {
14 13 private string $slug;
@@ -27,73 +26,73 @@
27 26 $this->url = $plugin_data['url'] ?? '';
28 27 $this->item_id = (int) ($plugin_data['item_id'] ?? 0);
29 28 $this->store_url = 'https://yaycommerce.com/';
30 29 }
31 - public function get_plugin_slug() : string
30 + public function get_plugin_slug(): string
32 31 {
33 32 return $this->slug;
34 33 }
35 - public function get_plugin_name() : string
34 + public function get_plugin_name(): string
36 35 {
37 36 return $this->name;
38 37 }
39 - public function get_plugin_version() : string
38 + public function get_plugin_version(): string
40 39 {
41 40 return '';
42 41 }
43 - public function get_plugin_file() : string
42 + public function get_plugin_file(): string
44 43 {
45 44 return $this->file;
46 45 }
47 - public function get_item_id() : int
46 + public function get_item_id(): int
48 47 {
49 48 return $this->item_id;
50 49 }
51 - public function get_store_url() : string
50 + public function get_store_url(): string
52 51 {
53 52 return $this->store_url;
54 53 }
55 - public function get_store_link() : string
54 + public function get_store_link(): string
56 55 {
57 56 return $this->url;
58 57 }
59 - public function get_menu_title() : string
58 + public function get_menu_title(): string
60 59 {
61 60 return $this->name;
62 61 }
63 - public function get_page_title() : string
62 + public function get_page_title(): string
64 63 {
65 64 return $this->name;
66 65 }
67 - public function get_menu_slug() : string
66 + public function get_menu_slug(): string
68 67 {
69 68 return '';
70 69 }
71 - public function get_settings_page_callback() : ?callable
70 + public function get_settings_page_callback(): ?callable
72 71 {
73 72 return null;
74 73 }
75 - public function get_settings_page_position() : ?int
74 + public function get_settings_page_position(): ?int
76 75 {
77 76 return null;
78 77 }
79 - public function get_capability() : string
78 + public function get_capability(): string
80 79 {
81 80 return 'manage_options';
82 81 }
83 - public function get_plugin_basename() : string
82 + public function get_plugin_basename(): string
84 83 {
85 84 return $this->basename;
86 85 }
87 - public function get_settings_label() : string
86 + public function get_settings_label(): string
88 87 {
89 88 return '';
90 89 }
91 - public function get_docs_url() : string
90 + public function get_docs_url(): string
92 91 {
93 92 return '';
94 93 }
95 - public function get_pro_url() : string
94 + public function get_pro_url(): string
96 95 {
97 96 return '';
98 97 }
99 98 }