Add a setting to disable the plugin functionality
Compare changes
+ 115
− 68
@@ -14,10 +14,20 @@ if (!defined("WP_MAT_ENDPOINT")) {
@@ -26,7 +36,7 @@ function wp_mat_is_supported_mime_type($mimetype) {
@@ -52,10 +62,14 @@ function wp_mat_issue_request($path, $mimetype, $output_path) {
@@ -63,7 +77,7 @@ function wp_mat_handle_upload_prefilter($file) {
@@ -71,7 +85,7 @@ function wp_mat_handle_upload_prefilter($file) {
@@ -94,12 +108,45 @@ function wp_mat_handle_upload_prefilter($file) {