Property | Type | Description | |
---|---|---|---|
$preferences | WPDKPreferences | An instance of class WPDKPreferences |
Method | Description | |
---|---|---|
init ( WPDKPreferences $preferences ) : WPDKPreferences | Return the original or imported preferences | |
wpdk_preferences_import_export_feedback ( ) : array | Hook for feedback. See error property too. |
Method | Description | |
---|---|---|
__construct ( WPDKPreferences $preferences ) : WPDKPreferencesImportExport | Create an instance of WPDKPreferencesImportExport class | |
download ( ) | Do a download by filename and buffer | |
import ( string $filename ) | Import procedure |
public static init ( WPDKPreferences $preferences ) : WPDKPreferences | ||
$preferences | WPDKPreferences | An instance of WPDKPreferences class |
return | WPDKPreferences |
public wpdk_preferences_import_export_feedback ( ) : array | ||
return | array |