WordPress plugin intelligence profile

Post Author IP

Records the IP address of the original post author when a post first gets created.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.7
Current version1.4
WordPress coverageTested up to WordPress 5.7
Minimum stackWP 4.9 · PHP —
Directory statusactive
Last directory update10 Jun 20215y ago
Active installations60Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Post Author IP version 1.4 as active, updated 5y ago and tested up to WordPress 5.7.

Overview

About this plugin

This plugin records the IP address of the original post author when a post first gets created.

The admin listing of posts is amended with a new “Author IP” column that shows the IP address of the author who first saved the post.

The plugin is unable to provide IP address information for posts that were created prior to the use of this plugin.

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Hooks

The plugin is further customizable via four filters. Typically, code making use of filters should ideally be put into a mu-plugin or site-specific plugin (which is beyond the scope of this readme to explain).

c2c_show_post_author_ip_column (filter)

The ‘c2c_show_post_author_ip_column’ filter allows you to determine if the post author IP column should appear in the admin post listing table. Your hooking function can be sent 1 argument:

Argument:

  • $show_column (bool) Should the column be shown? Default true.

Example:

/** * Don't show the post author IP column except to admins. * * @param bool $show_column Should the column be shown? Default true.

* @return bool */ function post_author_ip_column_admin_only( $show ) { if (! current_user_can( 'manage_options' ) ) { $show = false; } return $show; } add_filter( 'c2c_show_post_author_ip_column', 'post_author_ip_column_admin_only' );

c2c_get_post_author_ip (filter)

The ‘c2c_get_post_author_ip’ filter allows you to customize the value stored as the post author IP address. Your hooking function can be sent 2 arguments:

Arguments:

  • $ip (string) The post author IP address.
  • $post_id (int) The post ID.

Example:

/** * Store all IP addresses from local subnet IP addresses as the same IP address. * * @param string $ip The post author IP address. * @param int $post_id The post ID.

1'; } return $ip; } add_filter( 'c2c_get_post_author_ip', 'customize_post_author_ip', 10, 2 );

c2c_get_current_user_ip (filter)

The ‘c2c_get_current_user_ip’ filter allows you to customize the current user’s IP address, as used by the plugin. Your hooking function can be sent 1 argument:

Argument:

  • $ip (string) The post author IP address.

Example:

/** * Overrides localhost IP address. * * @param string $ip The post author IP address. * @param int $post_id The post ID.

1'; } return $ip; } add_filter( 'c2c_get_post_author_ip', 'customize_post_author_ip', 10, 2 );

c2c_post_author_ip_allowed (filter)

The ‘c2c_post_author_ip_allowed’ filter allows you to determine on a per-post basis if the post author IP should be stored. Your hooking function can be sent 3 arguments:

Arguments:

  • $allowed (bool) Can post author IP be saved for post? Default true.
  • $post_id (int) The post ID.
  • $ip (string) The post author IP address.

Example:

/** * Don't bother storing localhost IP addresses. * * @param bool $allowed Can post author IP be saved for post? Default true.

* @param int $post_id The post ID. * @param string $ip The post author IP address. ' ) ) { $allowed = false; } return $allowed; } add_filter( 'c2c_post_author_ip_allowed', 'disable_localhost_post_author_ips', 10, 3 );

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • ip address
  • audit
  • author
  • post
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.7

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.7.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.7
Minimum requirementsWordPress 4.9 · PHP not listed
Update activity10 Jun 20215y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.