Skip to content

Commit 58d0e6b

Browse files
committed
Add deprecation notice
1 parent a3a9a6c commit 58d0e6b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

disciple-tools-storage.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Disciple.Tools - Storage
44
* Plugin URI: https://github.com/DiscipleTools/disciple-tools-storage
5-
* Description: Upgrade Disciple.Tools with contact and user pictures using a storage service (AWS S3, Backblaze B2, etc).
5+
* Description: DELETE ME - I'm a deprecated plugin
66
* Text Domain: disciple-tools-storage
77
* Domain Path: /languages
88
* Version: 1.4.0
@@ -54,20 +54,20 @@ function disciple_tools_storage() {
5454
}
5555

5656
return Disciple_Tools_Storage::instance();
57-
5857
}
59-
add_action( 'after_setup_theme', 'disciple_tools_storage', 20 );
58+
59+
//add_action( 'after_setup_theme', 'disciple_tools_storage', 20 );
6060

6161
//register the D.T Plugin
62-
add_filter( 'dt_plugins', function ( $plugins ){
63-
$plugin_data = get_file_data( __FILE__, [ 'Version' => 'Version', 'Plugin Name' => 'Plugin Name' ], false );
64-
$plugins['disciple-tools-storage'] = [
65-
'plugin_url' => trailingslashit( plugin_dir_url( __FILE__ ) ),
66-
'version' => $plugin_data['Version'] ?? null,
67-
'name' => $plugin_data['Plugin Name'] ?? null,
68-
];
69-
return $plugins;
70-
});
62+
//add_filter( 'dt_plugins', function ( $plugins ){
63+
// $plugin_data = get_file_data( __FILE__, [ 'Version' => 'Version', 'Plugin Name' => 'Plugin Name' ], false );
64+
// $plugins['disciple-tools-storage'] = [
65+
// 'plugin_url' => trailingslashit( plugin_dir_url( __FILE__ ) ),
66+
// 'version' => $plugin_data['Version'] ?? null,
67+
// 'name' => $plugin_data['Plugin Name'] ?? null,
68+
// ];
69+
// return $plugins;
70+
//});
7171

7272
/**
7373
* Singleton class for setting up the plugin.

0 commit comments

Comments
 (0)