MediaLibraryAssistant.php
855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
namespace AC\Integration;
use AC\Integration;
use AC\Screen;
use AC\Type\Url\Site;
final class MediaLibraryAssistant extends Integration
{
public function __construct()
{
parent::__construct(
'ac-addon-media-library-assistant',
__('Media Library Assistant', 'codepress-admin-columns'),
'assets/images/addons/mla.png',
__(
'The Media Library Assistant plugin from David Lingren provides several enhancements for managing the Media Library.',
'codepress-admin-columns'
),
null,
new Site(Site::PAGE_ADDONS)
);
}
public function is_plugin_active(): bool
{
return defined('MLA_PLUGIN_PATH');
}
public function show_notice(Screen $screen): bool
{
return false;
}
}