PluginProbe
YayMail – WooCommerce Email Customizer / 4.4.6
YayMail – WooCommerce Email Customizer v4.4.6
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/Pages/LicensesPage.php +4 -5 4.4.2 → 4.4.6 View file →
@@ -5,13 +5,12 @@
5 5 use YayMailScoped\YayCommerce\AdminShell\Support\AdminContext;
6 6 /**
7 7 * Renders the Licenses admin page.
8 8 * Ported from YayMail Pro LicensesMenu.php.
9 - * @internal
10 9 */
11 10 class LicensesPage
12 11 {
13 - public static function render() : void
12 + public static function render(): void
14 13 {
15 14 // Exposed to the included view so it can show a per-site notice in
16 15 // Network Admin (license keys are stored/activated per site).
17 16 $is_network = AdminContext::is_network();
@@ -21,14 +20,14 @@
21 20 </script>
22 21 <?php
23 22 include __DIR__ . '/../../views/licenses-page.php';
24 23 }
25 - public static function load_data() : void
24 + public static function load_data(): void
26 25 {
27 26 add_action('admin_enqueue_scripts', [self::class, 'enqueue_scripts']);
28 27 }
29 - public static function enqueue_scripts() : void
28 + public static function enqueue_scripts(): void
30 29 {
31 - $assets_url = \plugin_dir_url(__FILE__) . '../../assets/';
30 + $assets_url = plugin_dir_url(__FILE__) . '../../assets/';
32 31 wp_enqueue_style('yaycommerce-licenses', $assets_url . 'css/licenses.css', [], '1.0');
33 32 }
34 33 }