CJ Simpler PlugIn Post

This post demonstrates the functionality of a custom WordPress plugin.

The plug-in displays:

  • The IP address that’s making the call to this api: https://api.myip.com.
  • The IP address of the current user.
  • The IP address of each commenter, unless it’s the same as the current viewer. Then it displays “My IP”.

The README file, which is part of the plugin zip, contains more information.


API IP Information (server)

Shortcode: api_ip_info

  • Specifying ‘country’ in shortcode: United States
  • IP, specifying “ip” in shortcode: 23.91.66.181
  • IP, without specifying any attributes: 23.91.66.181

API Information Using cUrl (server)

Shortcode: ip_curl

  • Specifying ‘country’ in shortcode: 23.91.66.181
  • IP, specifying “ip” in shortcode: 23.91.66.181
  • IP, without specifying any attributes: 23.91.66.181

User’s IP

Shortcode: user_ip

  • User’s IP: 3.94.129.211

Download Plugin Zip

4 Replies to “CJ Simpler PlugIn Post”

  1. Here’s a comment from my mobile phone when I’m not at home. Looks like it’s using the same cell IP that I was using at home, though.
    107.77.72.79

Leave a Reply

Your email address will not be published. Required fields are marked *