Developers
Programmatically Adding a Newsletter Subscriber
You can use the add_noptin_subscriber function to programatically add a new email subscriber
How to Check if the Current User is Subscribed to Your Newsletter
The noptin_is_subscriber() function checks if the current visitor is subscribed to your newsletter
Using the REST API
Noptin extends the WordPress REST API to allow subscriber management. You can query, create, update, or delete newsletter subscribers via this API. Authentication This API is only available to site admins and users with the manage_noptin capability. This means that all requests must be authenticated using either WordPress Application Passwords, OAuth 1.0a Server, or JSON Web Tokens.…