'filename', // 'ALT & TITLE TEXT' => 'alttext', // 'DESCRIPTION' => 'description', // 'GALLERY NAME' => 'nextgen_gallery', // 'IMAGE' => 'image_url' // ); // $next_gen_value = $this->convert_static_fields_to_array($nextgenFields); $response['nextgen_gallery_fields'] = null ; return $response; } /** * Nextgen Gallery extension supported import types * @param string $import_type - selected import type * @return boolean */ public function extensionSupportedImportType($import_type){ return false; if(is_plugin_active('nextgen-gallery/nggallery.php')){ if($import_type == 'nav_menu_item'){ return false; } $import_type = $this->import_name_as($import_type); if($import_type == 'Posts' || $import_type == 'Pages' || $import_type == 'WooCommerce' || $import_type == 'WPeCommerce' || $import_type =='CustomPosts' ) { return true; } else{ return false; } } } }