Skip to content

Commit 76c3d32

Browse files
committed
[wip] feat: adds attachment file rename
1 parent f7ecd32 commit 76c3d32

File tree

6 files changed

+1303
-1
lines changed

6 files changed

+1303
-1
lines changed

inc/admin.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public function __construct() {
5252
$this->settings = new Optml_Settings();
5353
$this->conflicting_plugins = new Optml_Conflicting_Plugins();
5454

55+
$media_rename = new Optml_Attachment_Edit();
56+
$media_rename->init();
57+
5558
add_filter( 'plugin_action_links_' . plugin_basename( OPTML_BASEFILE ), [ $this, 'add_action_links' ] );
5659
add_action( 'admin_menu', [ $this, 'add_dashboard_page' ] );
5760
add_action( 'admin_menu', [ $this, 'add_settings_subpage' ], 99 );

0 commit comments

Comments
 (0)