WordPress plugin intelligence profile

Silent Publish

Adds the ability to publish a post without triggering pingbacks, trackbacks, or notifying update services.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.3
Current version2.8
WordPress coverageTested up to WordPress 5.3
Minimum stackWP 4.6 · PHP —
Directory statusactive
Last directory update14 Feb 20206y ago
Active installations60Adoption metric — not a quality score
WordPress.org rating4.0 / 5 from 1 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 Silent Publish version 2.8 as active, updated 6y ago and tested up to WordPress 5.3.

Overview

About this plugin

This plugin gives you the ability to publish a post without triggering pingbacks, trackbacks, or notifying update services.

” checkbox is added to the “Add New Post” and “Edit Post” admin pages (the latter only for unpublished posts). If checked when the post is published, that post will not trigger the pingbacks, trackbacks, and update service notifications that would typically occur.

In every other manner, the post is published as usual: it’ll appear on the front page, archives, and feeds as expected, and no other aspect of the post is affected.

While trackbacks and pingsbacks can already be disabled from the Add New Post/Page page, this plugin makes things easier by allowing a single checkbox to disable those things, in addition to disabling notification of update services which otherwise could only be disabled by clearing the value of the global setting, which would then affect all authors and any subsequently published posts.

If a post is silently published, a custom field ‘_silent-publish’ for the post is set to a value of 1 as a means of recording the action. However, this value is not used after publish for any purpose as of yet. Nor is the custom field unset or changed if the post is later re-published.

Also see my Stealth Publish plugin if you want to make a new post but prevent it from appearing on the front page of your blog and in feeds. )

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

Hooks

The plugin is further customizable via three filters. Code using these filters should ideally be put into a mu-plugin or site-specific plugin (which is beyond the scope of this readme to explain). php file.

c2c_silent_publish_meta_key (filter)

The ‘c2c_silent_publish_meta_key’ filter allows you to override the name of the custom field key used by the plugin to store a post’s silent 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 ‘_silent-publish’.

Example:

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

c2c_silent_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 Silent Publish? checkbox checked by default. add_filter( 'c2c_silent_publish_default', '__return_true' );

c2c_silent_publish_post_types (filter)

The ‘c2c_silent_publish_post_types’ filter allows you to override the post types that can be silently published.

Arguments:

  • $post_types (array): Array of post type names.

Example:

/** * Disable Silent Publish for a custom public post type 'book'. * * @param array $post_types Array of post type names. * @return array */ function my_c2c_silent_publish_post_types( $post_types ) { $post_types = array_flip( $post_types ); unset( $post_types[ 'book' ] ); return array_keys( $post_types ).

} add_filter( 'c2c_silent_publish_post_types', 'my_c2c_silent_publish_post_types' );

WordPress.org metadata

Plugin tags

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

  • no ping
  • update services
  • publish
  • trackback
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.3

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

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.3
Minimum requirementsWordPress 4.6 · PHP not listed
Update activity14 Feb 20206y 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.