|
2 | 2 | /** |
3 | 3 | * Plugin Name: Disciple.Tools - Storage |
4 | 4 | * 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 |
6 | 6 | * Text Domain: disciple-tools-storage |
7 | 7 | * Domain Path: /languages |
8 | 8 | * Version: 1.4.0 |
@@ -54,20 +54,20 @@ function disciple_tools_storage() { |
54 | 54 | } |
55 | 55 |
|
56 | 56 | return Disciple_Tools_Storage::instance(); |
57 | | - |
58 | 57 | } |
59 | | -add_action( 'after_setup_theme', 'disciple_tools_storage', 20 ); |
| 58 | + |
| 59 | +//add_action( 'after_setup_theme', 'disciple_tools_storage', 20 ); |
60 | 60 |
|
61 | 61 | //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 | +//}); |
71 | 71 |
|
72 | 72 | /** |
73 | 73 | * Singleton class for setting up the plugin. |
|
0 commit comments