=== Raatt's Text Reminder Plugin ===
Contributors: mattfaler
Tags: sms, text messages, reminders, httpsms, notifications
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Send text reminders and notifications from WordPress through your own Android phone (httpSMS).

== Description ==

* Settings at "Raatt's Text Reminders" in the admin menu: httpSMS API key (never shown again; or define RTR_API_KEY in wp-config.php), From number (E.164), default country code, rate limit, max length.
* "Test connection" (lists your httpSMS phones, sends nothing) and "Send a test text".
* Named templates with {placeholders}, editable in the admin.
* Text Log with status filter, search, pagination and "Refresh status"; hourly status polling; optional webhook for instant delivery updates; retention purge; optional message masking.
* Opt-out blocklist.
* Optional Raatt's Classified Ads integration (off by default): text the seller when a listing goes live and when a buyer messages them.
* Send logic sits behind a transport interface (RTR_Transport), so a companion phone app can be added later as a second transport.

== For developers ==

    $result = rtr_send( '+17275550100', 'Hello', array( 'context' => 'my-plugin' ) ); // array|WP_Error
    $result = rtr_send_template( 'listing_sold', $to, array( 'listing_title' => 'Oak table' ) );

    // No hard dependency:
    do_action( 'rtr_send', $to, $message, 'my-context' );
    do_action( 'rtr_send_template', 'generic', $to, array( 'message' => 'Hi' ), 'my-context' );

Filters: rtr_pre_send (return false / WP_Error to cancel, or a modified array), rtr_message, rtr_templates, rtr_default_templates, rtr_template_vars, rtr_rendered_template, rtr_is_blocked, rtr_normalize_phone, rtr_transports, rtr_http_timeout, rtr_httpsms_send_body, rtr_rca_seller_phone.
Actions: rtr_sent, rtr_failed, rtr_status_changed, rtr_log_updated, rtr_webhook_event, rtr_loaded.

Webhook endpoint: POST /wp-json/raatts-text-reminder/v1/webhook (httpSMS JWT, HS256, signed with your webhook signing key).

== Uninstall ==

Deleting the plugin keeps all data unless "Delete the log, templates, settings and API key" is checked.

== Changelog ==

= 0.1.0 =
* First release.

== Copyright ==

Copyright (c) 2026 Matt Faler. Released under the GNU General Public License v2 or later.
