Privacy

OptinMonster 2.18.0 drops legacy API credentials: what to check

OptinMonster 2.18.0 for WordPress removes the old API username and key connection and adds security fixes. Update, confirm your account connection and test a campaign.

Made by Pagember · Editorial policy

Primary sources + editorial analysisSources

The short answer

Back up and update OptinMonster to 2.18.0, then open OptinMonster → Settings to confirm your account is connected. Sites still using the old API username and key must reconnect through Connect an Existing Account. Check in a private window that a campaign still displays and submits, and have developers replace the old wp-config.php constants with OPTINMONSTER_REST_API_LICENSE_KEY.

Official sourceOptinMonster on WordPress.org: changelog 2.18.0Checked

On this page5 sections

OptinMonster 2.18.0 for WordPress ends support for the old API username and key connection. The update was published on WordPress.org on November 20, 2026. If your site still connects to OptinMonster with those legacy credentials, you need to reconnect it to your account after updating so your popups and campaigns keep syncing. Most sites connected in recent years already use the newer connection and only need the update itself.

What changed

The 2.18.0 changelog lists these changes:

  • Legacy connection removed: the plugin no longer accepts the legacy API user and key credentials. Sites connected only that way must reconnect with an API key.
  • Configuration constants: OPTINMONSTER_API_USER and OPTINMONSTER_API_LICENSE_KEY are no longer read. The changelog points to OPTINMONSTER_REST_API_LICENSE_KEY instead.
  • Connection fix: requests no longer send legacy credentials alongside a valid API key, which had caused authentication failures on some sites.
  • Security improvements: the WooCommerce and Easy Digital Downloads display rules were hardened so a cached page cannot show one visitor's cart data to another, plus tighter handling of campaign publishing links, admin labels and direct access to plugin view files.
  • Compatibility: PHP 8.5 and WooCommerce 11.3 support, and several display and translation fixes.
Play video: Guide to Getting Started with OptinMonster and WordPress (Latest Version)
OptinMonster shows how to get started with OptinMonster on WordPress and create your first campaign. Video: OptinMonster (@OptinMonster) on YouTube. It loads from YouTube when you press play.

Who is affected

Every WordPress site running the OptinMonster plugin should update. On the WordPress.org plugin page, 2.18.0 is the current version and it needs WordPress 6.0 and PHP 7.4 or newer.

Three groups need to do more than click update:

  • Sites that were connected years ago with an API username and key and never reconnected since.
  • Sites where a developer set the connection in wp-config.php with OPTINMONSTER_API_USER and OPTINMONSTER_API_LICENSE_KEY.
  • Custom code that uses the optin_monster_api_creds filter or the removed OMAPI_Api::$user and OMAPI_Api::$key properties. The filter now receives only the apikey value.

What to do now

  • Take a backup, then go to Plugins → Installed Plugins and update OptinMonster to 2.18.0.
  • Open OptinMonster → Settings in the WordPress admin and check which account is shown as connected. If the site shows as disconnected, choose Connect an Existing Account and confirm with Connect to WordPress, as described in the official plugin setup guide.
  • Visit a page where a campaign should appear, in a private browser window, and confirm the popup or inline form still shows and submits.
  • Developers: search wp-config.php and custom plugins for the old constants and the optin_monster_api_creds filter, and move to OPTINMONSTER_REST_API_LICENSE_KEY.
  • WooCommerce stores: after the update, confirm the WooCommerce connection in the plugin settings, following the official WooCommerce integration guide.

If you manage client sites, update one site first, confirm its campaigns still display, then roll the update out to the rest.

Source and date

OptinMonster plugin page on WordPress.org, changelog for 2.18.0, last updated November 20, 2026, together with the official OptinMonster docs How to Install the OptinMonster WordPress Plugin and How to Integrate OptinMonster with WooCommerce. All were checked on November 21, 2026.