PluginProbe
SendWP / trunk
SendWP vtrunk
trunk 0.0.1 0.0.2 0.0.3 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1 1.2.10 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3 1.3.1 1.4.4 1.4.5 1.4.6 1.4.8
← All changes | includes/functions.php +11 -0 1.2.10trunk View file →
@@ -208,13 +208,24 @@
208 208 {
209 209 return get_option('_transient_sendwp_pulse_monitor', 'unknown');
210 210 }
211 211
212 +function sendwp_get_client_partner_id()
213 +{
214 + if ( defined( 'SENDWP_PARTNER_ID' ) ) {
215 + return SENDWP_PARTNER_ID;
216 + }
217 +
218 + return null;
219 +}
220 +
212 221 function sendwp_reset_all_plugin_data()
213 222 {
214 223 if (check_admin_referer('reset_sendwp_data' . sendwp_get_client_secret())) {
215 224 $options = [
216 225 'sendwp_client_secret',
226 + 'sendwp_client_connected',
227 + 'sendwp_forwarding_enabled',
217 228 ];
218 229
219 230 foreach ($options as $option) {
220 231 if (get_option($option, false) !== false) {