Privacy: suggested text for the site's privacy policy. add_action( 'admin_init', function () { if ( function_exists( 'wp_add_privacy_policy_content' ) ) { wp_add_privacy_policy_content( __( 'OrderScribe', 'orderscribe' ), wp_kses_post( wpautop( __( 'When we receive a purchase order by email or upload, its contents are sent to Anthropic (https://www.anthropic.com/legal/privacy) to be read, either directly or through the OrderScribe service (https://orderscribe.burcenko.com/privacy). This can include the name, email address, phone number and delivery address of the person who placed the order. If a Microsoft 365 or Outlook.com mailbox is connected, the order emails are fetched from Microsoft (https://privacy.microsoft.com/privacystatement). The extracted order is stored in this site\'s database together with the order it created.', 'orderscribe' ) ) ) ); } } ); register_activation_hook( __FILE__, function () { Potoorder_Mailbox::schedule(); } ); register_deactivation_hook( __FILE__, function () { wp_clear_scheduled_hook( Potoorder_Mailbox::HOOK ); wp_clear_scheduled_hook( Potoorder_Mailbox::SWEEP ); } );