PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / 1.12
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration v1.12
2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 1.45 All 41 releases
fluent-boards / app / Services / PluginManager / Bootstrap.php

Bootstrap.php in FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration 1.12, at app/Services/PluginManager/Bootstrap.php

44 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentBoards\App\Services\PluginManager;
4
5
6 class Bootstrap
7 {
8 public function register()
9 {
10 $apiUrl = 'https://fluentboards.com/wp-admin/admin-ajax.php?action=fluent_boards_beta_testers&time=' . time();
11 new Updater($apiUrl, FLUENT_BOARDS_DIR_FILE, array(
12 'version' => FLUENT_BOARDS_PLUGIN_VERSION,
13 'license' => 'fake_license_key',
14 'item_name' => 'FluentBoards',
15 'item_id' => 'fluent-boards',
16 'author' => 'wpmanageninja'
17 ),
18 array(
19 'license_status' => 'valid',
20 'admin_page_url' => admin_url('admin.php?page=fluent-boards#/'),
21 'purchase_url' => 'https://fluentboards.com',
22 'plugin_title' => 'Fluent Boards'
23 )
24 );
25
26 add_filter('plugin_row_meta', array($this, 'pluginRowMeta'), 10, 2);
27 }
28
29 public function pluginRowMeta($links, $file)
30 {
31 if ('fluent-boards/fluent-boards.php' !== $file) {
32 return $links;
33 }
34
35 $checkUpdateUrl = esc_url(admin_url('plugins.php?fluent-boards-check-update=' . time()));
36
37 $row_meta = array(
38 'check_update' => '<a style="color: #583fad;font-weight: 600;" href="' . $checkUpdateUrl . '" aria-label="' . esc_attr__('Check Update', 'fluent-boards') . '">' . esc_html__('Check Update', 'fluent-boards') . '</a>',
39 );
40
41 return array_merge($links, $row_meta);
42 }
43 }
44