Skip to content

Triggering a Webhook on Wordpress Login

This guide outlines how to configure your Wordpress installation to trigger a Host Alerts webhook when a user logs into the admin dashboard, Providing immediate notification of potential security events.

Prerequisites:

  • Wordpress: This guide assumes a Wordpress 6.0 or later installation.
  • Admin access: You'll need administator privileges to install plugins.

Installation

  1. Download the Plugin:

  2. Upload via WordPress Plugin Upload:

    • Log in to your WordPress admin dashboard.
    • Navigate to "Plugins" > "Add New."
    • Click the "Upload Plugin" button at the top of the page.
    • Click "Choose File" and select the plugin.zip file you downloaded.
    • Click "Install Now."
  3. Activate the Plugin:

    • Log in to your WordPress admin dashboard.
    • Navigate to the "Plugins" page.
    • Find the Host Alerts plugin you just uploaded in the list of available plugins.
    • Click the "Activate" button next to the plugin's name.

Using the Plugin

  1. Obtain Your Host Code:

    • Download and open the Host Alerts iOS app.
    • Create a new host and copy your unique host code within the app.
  2. Navigate to WordPress Settings:

    • Log in to your WordPress admin dashboard.
    • Go to "Settings" > "Host Alerts Webhook."
  3. Enter the Host Code:

    • Paste the host code you copied from the Host Alerts app into the "Code" field.
  4. Save Changes:

    • Click the "Save Changes" button to apply the settings.

Source Code

We're committed to transparency and community contribution. The full source code for this plugin is available on GitHub.