WordPress plugin intelligence profile

Stealth Publish

Prevent specified posts from being featured on the front page or in feeds, and from notifying external services of publication.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.5
Current version2.6
WordPress coverageTested up to WordPress 4.5
Minimum stackWP 3.6 · PHP —
Directory statusactive
Last directory update13 Apr 201610y ago
Active installations900Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 11 ratings
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 Stealth Publish version 2.6 as active, updated 10y ago and tested up to WordPress 4.5.

Overview

About this plugin

This plugin allows you to prevent specified posts from being featured on the front page or in feeds, and from notifying external services of publication. Beneficial in instances where you want to publish new content without any fanfare and just want the post added to archive and category pages and its own permalink page.

” checkbox is added to the “Write Post” admin page. Posts which are saved with that checkbox checked will no longer be featured on the front page of the blog, nor will the post be included in any feeds.

A stealth published post will also not notify any external services about the publication. com. This behavior can be overridden via the ‘c2c_stealth_publish_silent’ filter (see Filters section).

NOTES:

-

Use of other plugins making their own queries against the database to find posts will possibly allow a post to appear on the front page. But use of the standard WordPress functions for retrieving posts (as done for the main posts query and the recent posts widget) should not allow stealth published posts to appear on the home page.

-

If you use this plugin, you do not need to use my Silent Publish plugin as that functionality is incorporated into this plugin. Alternatively, if you like the silent publishing feature but want your new posts to appear on your blog’s front page and in feeds, then just use the “Silent Publish” plugin.

-

” checkbox checked by default.

Links: Plugin Homepage | Plugin Directory Page | Author Homepage

Filters

The plugin is further customizable via three filters. php file, or used by another plugin.

c2c_stealth_publish_meta_key (filter)

The ‘c2c_stealth_publish_meta_key’ filter allows you to override the name of the custom field key used by the plugin to store a post’s stealth publish status. This isn’t a common need.

Arguments:

  • $custom_field_key (string): The custom field key to be used by the plugin. By default this is ‘_stealth-publish’.

Example:

/** * Defines a custom meta key to be used by Stealth Publish. * * @param string $custom_field_key The default custom field key name. * @return string */ function override_stealth_publish_key( $custom_field_key ) { return '_my_custom_stealth-publish'; } add_filter( 'c2c_stealth_publish_meta_key', 'override_stealth_publish_key' );

c2c_stealth_publish_silent (filter)

e. without sending out pingbacks, tracbacks, and pings to update services).

Arguments:

  • $publish_silently (bool): Should stealth published posts also be published silently? By default this is ‘true’.
  • $post_id (int): The ID of the post being published.

Example:

/** * Disable silent publishing for stealth published posts. * * @param bool $publish_silently True if the post is to be published silently. * @param int $post_id The post ID.

* @return Always false. */ function override_stealth_publish_silent( $publish_silently, $post_id ) { return false; } add_filter( 'c2c_stealth_publish_silent', 'override_stealth_publish_silent' );

c2c_stealth_publish_default (filter)

’ checkbox.

Arguments:

  • $state (boolean): The default state of the checkbox. By default this is false.
  • $post (WP_Post): The post currently being created/edited.

Example:

// Have the Stealth Publish? checkbox checked by default. add_filter( 'c2c_stealth_publish_default', '__return_true' );

WordPress.org metadata

Plugin tags

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

  • archive
  • feature
  • feed
  • home
  • post
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.5

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

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.5
Minimum requirementsWordPress 3.6 · PHP not listed
Update activity13 Apr 201610y 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.