parsers
1 month ago
admin.php
7 months ago
core.php
1 month ago
engine.php
1 month ago
init.php
7 months ago
parsers.php
10 months ago
rest.php
1 month ago
support.php
1 month ago
ui.php
3 years ago
support.php
294 lines
| 1 | <?php |
| 2 | |
| 3 | class Meow_WPMC_Support { |
| 4 | |
| 5 | static function get_natives() { |
| 6 | $natives = array(); |
| 7 | |
| 8 | if ( class_exists( 'WooCommerce' ) ) |
| 9 | array_push( $natives, 'WooCommerce' ); |
| 10 | |
| 11 | if ( class_exists( 'Attachments' ) ) |
| 12 | array_push( $natives, 'Attachments' ); |
| 13 | |
| 14 | if ( class_exists( 'MetaSliderPlugin' ) || class_exists( 'MetaSliderPro' ) ) |
| 15 | array_push( $natives, 'Meta Slider' ); |
| 16 | |
| 17 | if ( function_exists( 'mc_show_sidebar' ) ) |
| 18 | array_push( $natives, 'My Calendar' ); |
| 19 | |
| 20 | if ( class_exists( 'Mega_Menu' ) ) |
| 21 | array_push( $natives, 'Mega Menu' ); |
| 22 | |
| 23 | if ( class_exists( 'WPSEO_Options' ) ) |
| 24 | array_push( $natives, 'Yoast SEO' ); |
| 25 | |
| 26 | if ( class_exists( 'Meow_MGL_Core' ) ) |
| 27 | array_push( $natives, 'Meow Gallery' ); |
| 28 | |
| 29 | return $natives; |
| 30 | } |
| 31 | |
| 32 | static function get_issues() { |
| 33 | $unsupported = array(); |
| 34 | |
| 35 | if ( class_exists( 'ACF' ) ) |
| 36 | array_push( $unsupported, 'ACF' ); |
| 37 | |
| 38 | if ( function_exists( 'acfw_globals' ) ) |
| 39 | array_push( $unsupported, 'ACF Widgets' ); |
| 40 | |
| 41 | if ( function_exists( '_et_core_find_latest' ) ) |
| 42 | array_push( $unsupported, 'Divi' ); |
| 43 | |
| 44 | if ( class_exists( 'Vc_Manager' ) ) |
| 45 | array_push( $unsupported, 'Visual Composer' ); |
| 46 | |
| 47 | if ( defined( 'FUSION_BUILDER_VERSION' ) || defined( 'FUSION_CORE_VERSION' ) || has_action( 'avada_author_info' ) ) |
| 48 | array_push( $unsupported, 'Fusion Builder' ); |
| 49 | |
| 50 | if ( defined( 'ELEMENTOR_VERSION' ) ) |
| 51 | array_push( $unsupported, 'Elementor' ); |
| 52 | |
| 53 | if ( class_exists( 'FLBuilderModel' ) ) |
| 54 | array_push( $unsupported, 'Beaver Builder' ); |
| 55 | |
| 56 | $breakdance_mode_oxygen = defined( 'BREAKDANCE_MODE' ) && BREAKDANCE_MODE === 'oxygen'; |
| 57 | if ( class_exists( 'Oxygen_VSB_Dynamic_Shortcodes' ) || $breakdance_mode_oxygen ) |
| 58 | array_push( $unsupported, 'Oxygen Builder' ); |
| 59 | |
| 60 | if ( class_exists( 'Brizy_Editor_Post' ) ) |
| 61 | array_push( $unsupported, 'Brizy Editor' ); |
| 62 | |
| 63 | if ( function_exists( 'amd_zlrecipe_convert_to_recipe' ) ) |
| 64 | array_push( $unsupported, 'ZipList Recipe' ); |
| 65 | |
| 66 | if ( class_exists( 'UberMenu' ) ) |
| 67 | array_push( $unsupported, 'UberMenu' ); |
| 68 | |
| 69 | if ( class_exists( 'X_Bootstrap' ) ) |
| 70 | array_push( $unsupported, 'Theme X' ); |
| 71 | |
| 72 | if ( class_exists( 'Easy_Real_Estate' ) ) |
| 73 | array_push( $unsupported, 'Easy Real Estate' ); |
| 74 | |
| 75 | if ( class_exists( 'SiteOrigin_Panels' ) ) |
| 76 | array_push( $unsupported, 'SiteOrigin PageBuilder' ); |
| 77 | |
| 78 | if ( defined( 'TASTY_PINS_PLUGIN_FILE' ) ) |
| 79 | array_push( $unsupported, 'Tasty Pins' ); |
| 80 | |
| 81 | if ( class_exists( 'WCFMmp' ) ) |
| 82 | array_push( $unsupported, 'WCFM Marketplace' ); |
| 83 | |
| 84 | if ( class_exists( 'RevSliderFront' ) ) |
| 85 | array_push( $unsupported, 'Revolution Slider' ); |
| 86 | |
| 87 | if ( defined( 'WPESTATE_PLUGIN_URL' ) ) |
| 88 | array_push( $unsupported, 'WP Residence' ); |
| 89 | |
| 90 | if ( defined( 'AV_FRAMEWORK_VERSION' ) ) |
| 91 | array_push( $unsupported, 'Avia Framework' ); |
| 92 | |
| 93 | if ( class_exists( 'FAT_Portfolio' ) ) |
| 94 | array_push( $unsupported, 'FAT Portfolio' ); |
| 95 | |
| 96 | if ( class_exists( 'YIKES_Custom_Product_Tabs' ) ) |
| 97 | array_push( $unsupported, 'Yikes Custom Product Tabs' ); |
| 98 | |
| 99 | if ( function_exists( 'drts' ) ) |
| 100 | array_push( $unsupported, 'Directories' ); |
| 101 | |
| 102 | if ( class_exists( 'ImageMapPro' ) ) |
| 103 | array_push( $unsupported, 'Image Map Pro' ); |
| 104 | |
| 105 | if ( class_exists( 'YOOtheme\\Builder' ) ) { |
| 106 | array_push( $unsupported, 'YooTheme Builder' ); |
| 107 | } |
| 108 | |
| 109 | if ( class_exists( 'geodirectory' ) ) { |
| 110 | array_push( $unsupported, 'GeoDirectory' ); |
| 111 | } |
| 112 | |
| 113 | if ( class_exists( 'Modula' ) ) { |
| 114 | array_push( $unsupported, 'Modula Gallery' ); |
| 115 | } |
| 116 | |
| 117 | if ( class_exists( 'JustifiedImageGrid' ) ) { |
| 118 | array_push( $unsupported, 'Justified Image Grid' ); |
| 119 | } |
| 120 | |
| 121 | if ( class_exists( 'Advanced_Ads' ) ) { |
| 122 | array_push( $unsupported, 'Advanced Ads' ); |
| 123 | } |
| 124 | |
| 125 | if ( defined( 'SMARTSLIDER3_LIBRARY_PATH' ) ) { |
| 126 | array_push( $unsupported, 'Smart Slider' ); |
| 127 | } |
| 128 | |
| 129 | if ( class_exists( 'w2dc_plugin' ) ) { |
| 130 | array_push( $unsupported, 'WebDirectory' ); |
| 131 | } |
| 132 | |
| 133 | if ( class_exists( 'ElfsightSliderPlugin' ) ) { |
| 134 | array_push( $unsupported, 'Elfsight Slider' ); |
| 135 | } |
| 136 | |
| 137 | if ( class_exists( '\Nimble\CZR_Fmk_Base' ) ) { |
| 138 | array_push( $unsupported, 'Nimble Builder' ); |
| 139 | } |
| 140 | |
| 141 | if ( class_exists( 'fwds3dcar' ) ) { |
| 142 | array_push( $unsupported, 'Simple 3D Carousel' ); |
| 143 | } |
| 144 | |
| 145 | if ( class_exists( 'Jet_Engine' ) ) { |
| 146 | array_push( $unsupported, 'Jet Engine' ); |
| 147 | } |
| 148 | |
| 149 | if ( class_exists( 'Social_Warfare' ) ) { |
| 150 | array_push( $unsupported, 'Social Warfare' ); |
| 151 | } |
| 152 | |
| 153 | if ( class_exists( 'WP_Job_Manager' ) ) { |
| 154 | array_push( $unsupported, 'WP Job Manager' ); |
| 155 | } |
| 156 | |
| 157 | if ( class_exists( 'WpdiscuzCore' ) ) { |
| 158 | array_push( $unsupported, 'wpDiscuz' ); |
| 159 | } |
| 160 | |
| 161 | if ( class_exists( 'Cornerstone_Plugin' ) ) { |
| 162 | array_push( $unsupported, 'Cornerstone' ); |
| 163 | } |
| 164 | |
| 165 | if ( class_exists( 'WP_DLM' ) ) { |
| 166 | array_push( $unsupported, 'Download Monitor' ); |
| 167 | } |
| 168 | |
| 169 | if ( class_exists( 'CMBusinessDirectory' ) ) { |
| 170 | array_push( $unsupported, 'CM Business Directory' ); |
| 171 | } |
| 172 | |
| 173 | if ( class_exists( 'SunshineCart' ) ) { |
| 174 | array_push( $unsupported, 'Sunshine Photo Cart' ); |
| 175 | } |
| 176 | |
| 177 | if ( defined( 'WOODMART_CORE_VERSION' ) ) { |
| 178 | array_push( $unsupported, 'Woodmart Theme' ); |
| 179 | } |
| 180 | |
| 181 | if ( class_exists( 'BWG' ) ) { |
| 182 | array_push( $unsupported, 'Photo Gallery (10Web)' ); |
| 183 | } |
| 184 | |
| 185 | if ( class_exists( 'Google\Web_Stories\Plugin' ) ) { |
| 186 | array_push( $unsupported, 'Web Stories' ); |
| 187 | } |
| 188 | |
| 189 | if ( function_exists( 'rwmb_get_object_fields' ) ) { |
| 190 | array_push( $unsupported, 'Metabox' ); |
| 191 | } |
| 192 | |
| 193 | if ( defined( 'URIS_PLUGIN_URL' ) ) { |
| 194 | array_push( $unsupported, 'Ultimate Responsive Image Slider' ); |
| 195 | } |
| 196 | |
| 197 | if ( defined( 'PRESTO_PLAYER_PLUGIN_URL' ) ) { |
| 198 | array_push( $unsupported, 'Presto Player' ); |
| 199 | } |
| 200 | |
| 201 | if ( defined( 'GG_VER' ) ) { |
| 202 | array_push( $unsupported, 'Global Gallery' ); |
| 203 | } |
| 204 | |
| 205 | if ( defined( 'LANA_DOWNLOADS_MANAGER_VERSION' ) ) { |
| 206 | array_push( $unsupported, 'Lana Downloads Manager' ); |
| 207 | } |
| 208 | |
| 209 | if ( defined( 'POWERPRESS_VERSION' ) ) { |
| 210 | array_push( $unsupported, 'Powerpress' ); |
| 211 | } |
| 212 | |
| 213 | if ( class_exists( 'Connections_Directory' ) ) { |
| 214 | array_push( $unsupported, 'Connections Business Directory' ); |
| 215 | } |
| 216 | |
| 217 | if ( defined( 'WONDERPLUGIN_3DCAROUSEL_VERSION' ) ) { |
| 218 | array_push( $unsupported, 'WonderPlugin 3D Carousel' ); |
| 219 | } |
| 220 | |
| 221 | if ( defined( 'UNCODE_CORE_FILE' ) ) { |
| 222 | array_push( $unsupported, 'Uncode' ); |
| 223 | } |
| 224 | |
| 225 | if ( defined( 'MAILPOET_MINIMUM_REQUIRED_WP_VERSION' ) ) { |
| 226 | array_push( $unsupported, 'Mailpoet' ); |
| 227 | } |
| 228 | |
| 229 | if ( defined( 'ACADEMY_VERSION' ) ) { |
| 230 | array_push( $unsupported, 'Academy LMS' ); |
| 231 | } |
| 232 | |
| 233 | if ( defined( 'BREAKDANCE_PLUGIN_URL' ) ) { |
| 234 | array_push( $unsupported, 'Breakdance Builder' ); |
| 235 | } |
| 236 | |
| 237 | if ( defined( 'BRICKS_VERSION' ) ) { |
| 238 | array_push( $unsupported, 'Bricks Builder' ); |
| 239 | } |
| 240 | |
| 241 | // W3 Total Cache |
| 242 | if ( defined( 'W3TC_VERSION' ) ) { |
| 243 | array_push( $unsupported, 'W3 Total Cache' ); |
| 244 | } |
| 245 | |
| 246 | // Spectra |
| 247 | if ( defined( 'UAGB_PLUGIN_SHORT_NAME' ) ) { |
| 248 | array_push( $unsupported, 'Spectra' ); |
| 249 | } |
| 250 | |
| 251 | // Foo Gallery |
| 252 | if ( defined( 'FOOGALLERY_VERSION' ) ) { |
| 253 | array_push( $unsupported, 'Foo Gallery' ); |
| 254 | } |
| 255 | |
| 256 | // Tutor LMS |
| 257 | if ( defined( 'TUTOR_VERSION' ) ) { |
| 258 | array_push( $unsupported, 'Tutor LMS' ); |
| 259 | } |
| 260 | |
| 261 | // Houzez |
| 262 | if ( defined( 'HOUZEZ_THEME_VERSION' ) ) { |
| 263 | array_push( $unsupported, 'Houzez' ); |
| 264 | } |
| 265 | |
| 266 | // Kadence Blocks |
| 267 | if ( defined( 'KADENCE_BLOCKS_VERSION' ) ) { |
| 268 | array_push( $unsupported, 'Kadence Blocks' ); |
| 269 | } |
| 270 | |
| 271 | // FLuent Forms |
| 272 | if ( defined( 'FLUENTFORM_VERSION' ) ) { |
| 273 | array_push( $unsupported, 'Fluent Forms' ); |
| 274 | } |
| 275 | |
| 276 | //Toolset |
| 277 | if ( defined( 'TYPES_VERSION' ) || defined( 'WPCF_VERSION' ) ) { |
| 278 | array_push( $unsupported, 'Toolset' ); |
| 279 | } |
| 280 | |
| 281 | //LayerSlider |
| 282 | if ( defined( 'LS_PLUGIN_VERSION' ) ) { |
| 283 | array_push( $unsupported, 'LayerSlider' ); |
| 284 | } |
| 285 | |
| 286 | //WP Download Manager |
| 287 | if ( defined( 'WPDM_VERSION' ) ) { |
| 288 | array_push( $unsupported, 'WP Download Manager' ); |
| 289 | } |
| 290 | |
| 291 | return $unsupported; |
| 292 | } |
| 293 | } |
| 294 | ?> |