
FediBoost extends the ActivityPub plugin by automatically boosting your WordPress posts on your connected Mastodon accounts when they are published.
When you publish a new post on your WordPress site, FediBoost will automatically boost (reblog) that post on your linked Mastodon account, helping increase visibility across the fediverse.
Features:
Requirements:
FediBoost provides several filters that allow developers to customize its behavior. All filters follow WordPress coding standards and can be added to your theme’s functions.php file or a custom plugin.
Control whether a specific post should be boosted. Return false to skip boosting for the given post. Default: true.
Parameters:
$should_boost (bool) — Whether the post should be boosted.$post (WP_Post) — The post object being published.Example:
add_filter( 'fediboost_should_boost_post', function( $should_boost, $post ) {
// Don't boost posts in the "internal" category.
if ( has_category( 'internal', $post ) ) {
return false;
}
return $should_boost;
}, 10, 2 );
Delay in seconds after ActivityPub federation completes before the boost is executed. This delay is only used when the federation completion hook fires successfully. Default: 30.
Parameters:
$delay (int) — The delay in seconds.Example:
add_filter( 'fediboost_boost_delay', function( $delay ) {
// Wait 2 minutes after federation before boosting.
return 120;
} );
Delay in seconds before a boost is executed when the ActivityPub federation completion hook does not fire. This acts as a safety net for older versions of the ActivityPub plugin that do not support the activitypub_outbox_processing_complete hook. If the federation hook fires first, the fallback is cancelled and fediboost_boost_delay is used instead. Default: 300 (5 minutes).
Parameters:
$delay (int) — The fallback delay in seconds.Example:
add_filter( 'fediboost_fallback_delay', function( $delay ) {
// Wait 10 minutes in the fallback path.
return 600;
} );
WordPress capability required to manage FediBoost settings. Default: ‘manage_options’. Note: a floor of ‘edit_others_posts’ is enforced regardless of this filter’s return value, so you cannot lower the requirement below that capability.
Parameters:
$capability (string) — The required capability.Example:
add_filter( 'fediboost_manage_capability', function( $capability ) {
// Allow editors to manage FediBoost settings.
return 'edit_others_posts';
} );
Maximum number of connected Mastodon accounts. Default: 10.
Parameters:
$max (int) — The maximum number of accounts.Example:
add_filter( 'fediboost_max_accounts', function( $max ) {
// Allow up to 25 connected accounts.
return 25;
} );<h3>External Services</h3>
FediBoost connects to external Mastodon instances that you configure (e.g., mastodon.social). This communication is essential for the plugin to function and is initiated only with the instance you explicitly provide.
During setup:
When a post is published:
Data sent to your Mastodon instance:
Data stored locally on your WordPress site:
Each Mastodon instance has its own privacy policy and terms of service. You can find a list of instances and their policies at joinmastodon.org/servers.
This plugin does not send data to any third-party service other than the Mastodon instance(s) you explicitly configure.