PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Core/wordpress/miscellaneous.php +10 -5 10.11.1 → 11.1.0 View file →
@@ -1,10 +1,14 @@
1 1 <?php
2 2
3 +defined('ABSPATH') || die('Restricted Access');
4 +
5 +// Front-end breadcrumb for Joomla
3 6 function acym_addBreadcrumb(string $title, string $link = ''): void
4 7 {
5 8 }
6 9
10 +// Page title modification for Joomla
7 11 function acym_setPageTitle(string $title): void
8 12 {
9 13 }
10 14
@@ -9,16 +13,12 @@
9 13 }
10 14
11 15 function acym_isLeftMenuNecessary(): bool
12 16 {
17 + // Already one in WP
13 18 return false;
14 19 }
15 20
16 -function acym_getLeftMenu(string $name): string
17 -{
18 - return '';
19 -}
20 -
21 21 function acym_isPluginActive(string $plugin, string $family = 'system'): bool
22 22 {
23 23 return true;
24 24 }
@@ -59,5 +59,10 @@
59 59 return true === wp_unschedule_event($timestamp, $options['name']);
60 60 }
61 61
62 62 return true;
63 +}
64 +
65 +function acym_rand(int $min, int $max): int
66 +{
67 + return wp_rand($min, $max);
63 68 }