![]() |
WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
| wpdk_preferences_import_export_feedback () | |
| Feedback. More... | |
Static Public Member Functions | |
| static | init ($preferences) |
| Init the import/export. More... | |
Data Fields | |
| const | ERROR_NONE = false |
| const | ERROR_READ_FILE = 1 |
| const | ERROR_MALFORMED_FILE = 2 |
| const | ERROR_VERSION = 3 |
| const | ERROR_USER_ID = 4 |
| $preferences | |
| Preferences. More... | |
Manage a generic import/export of preferences
Definition at line 418 of file wpdk-preferences.php.
|
static |
Init the import/export.
Return the original or imported preferences
| WPDKPreferences | $preferences | An instance of WPDKPreferences class |
Definition at line 462 of file wpdk-preferences.php.
| wpdk_preferences_import_export_feedback | ( | ) |
Feedback.
Hook for feedback. See error property too.
Definition at line 575 of file wpdk-preferences.php.
| WPDKPreferences $preferences |
Preferences.
An instance of class WPDKPreferences
Definition at line 451 of file wpdk-preferences.php.
| const ERROR_MALFORMED_FILE = 2 |
Definition at line 422 of file wpdk-preferences.php.
| const ERROR_NONE = false |
Definition at line 420 of file wpdk-preferences.php.
| const ERROR_READ_FILE = 1 |
Definition at line 421 of file wpdk-preferences.php.
| const ERROR_USER_ID = 4 |
Definition at line 424 of file wpdk-preferences.php.
| const ERROR_VERSION = 3 |
Definition at line 423 of file wpdk-preferences.php.