break; case "test": postie_test_config(); exit; break; case "runpostie": EchoInfo(__("Checking for mail manually", "postie")); postie_get_mail(); exit; break; case "runpostie-debug": EchoInfo(__("Checking for mail manually with debug output", "postie")); if (!defined('POSTIE_DEBUG')) { define('POSTIE_DEBUG', true); } postie_get_mail(); exit; break; default: $message = 2; break; } } global $wpdb, $wp_roles; $config = config_Read(); if (empty($config)) { $config = config_ResetToDefault(); } $arrays = config_ArrayedSettings(); // some fields are stored as arrays, because that makes back-end processing much easier // and we need to convert those fields to strings here, for the options form
function check_postie() { //error_log("check_postie"); postie_get_mail(); }