PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.1.0
Forumax – AI Powered Advanced Community Forum Plugin v2.1.0
2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.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 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 2.0.0 2.1.0 All 29 releases
bbp-core / includes / admin / notices / _notices.php

_notices.php in Forumax – AI Powered Advanced Community Forum Plugin 2.1.0, at includes/admin/notices/_notices.php

25 lines 786 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 require_once __DIR__ . '/asking-for-review.php';
3 require_once __DIR__ . '/offer.php';
4 require_once __DIR__ . '/bbPress-required.php';
5 require_once __DIR__ . '/deactivate-other-forum-plugins.php';
6 require_once __DIR__ . '/class-remote-notice-client.php';
7 require_once __DIR__ . '/update-notice.php';
8
9 // Disable notices when Pro is active
10 add_action('admin_init', function () {
11 if (
12 (function_exists('forumax_is_premium') && forumax_is_premium())
13 ||
14 (function_exists('forumax_is_promax') && forumax_is_promax())
15 ) {
16 Remote_Notice_Client::disable('Forumax');
17 return;
18 }
19
20
21 Remote_Notice_Client::init('Forumax', [
22 'api_url' => 'https://manage.spider-themes.net/wp-json/html-notice-widget/v1/content/forumax',
23 ]);
24 });
25