ACF.php
1 month ago
BeaverBuilder.php
1 month ago
BuddyPress.php
1 month ago
EventsCalendar.php
1 month ago
Filter.php
1 month ago
GravityForms.php
1 month ago
IntegrationRepository.php
1 month ago
JetEngine.php
1 month ago
MediaLibraryAssistant.php
1 month ago
MetaBox.php
1 month ago
Pods.php
1 month ago
RankMath.php
1 month ago
SeoPress.php
1 month ago
Types.php
1 month ago
WooCommerce.php
1 month ago
YoastSeo.php
1 month ago
MediaLibraryAssistant.php
37 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AC\Integration; |
| 4 | |
| 5 | use AC\Screen; |
| 6 | use AC\Type\Integration; |
| 7 | use AC\Type\Url\Site; |
| 8 | |
| 9 | final class MediaLibraryAssistant extends Integration |
| 10 | { |
| 11 | |
| 12 | public function __construct() |
| 13 | { |
| 14 | parent::__construct( |
| 15 | 'ac-addon-media-library-assistant', |
| 16 | __('Media Library Assistant', 'codepress-admin-columns'), |
| 17 | 'assets/images/addons/mla.png', |
| 18 | __( |
| 19 | 'Take control of large media libraries. Add ALT text, captions, and custom metadata as columns - then filter, sort, and bulk update across thousands of files.', |
| 20 | 'codepress-admin-columns' |
| 21 | ), |
| 22 | null, |
| 23 | new Site(Site::PAGE_ADDONS) |
| 24 | ); |
| 25 | } |
| 26 | |
| 27 | public function is_plugin_active(): bool |
| 28 | { |
| 29 | return defined('MLA_PLUGIN_PATH'); |
| 30 | } |
| 31 | |
| 32 | public function show_notice(Screen $screen): bool |
| 33 | { |
| 34 | return false; |
| 35 | } |
| 36 | |
| 37 | } |