. */ class AddActionsAndFilters_ViewImportExport { /** * @var AddActionsAndFilters_Plugin */ var $plugin; public function __construct(&$plugin) { $this->plugin = $plugin; } public function display() { $this->outputHeader(); $this->outputExport(); $this->outputImport(); $this->outputPhpShortcodeExecListing(); } public function outputHeader() { ?>

'; _e('Export All Code to a File', 'add-actions-and-filters'); echo ''; echo '

'; _e('Export all code to a file. Use this to backup your code or transfer it to a different site.', 'add-actions-and-filters'); echo '
'; _e('To export specific code items, go to the listing table, select those you want, and use the Export bulk action.', 'add-actions-and-filters'); echo '

'; ?> '; _e('Import Code from Export File', 'add-actions-and-filters'); echo ''; echo '

'; _e('Import code from a file exported from this plugin.', 'add-actions-and-filters'); echo '

'; ?>
0) { return; } ?>