You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Jul 15, 2026
·
1 revision
Filters whether local WordPress comments may be published to Bluesky as replies.
Runs last, so it has the final say over the stored setting — a host
plugin can force outgoing writes off (or back on) regardless of the
saved preference. The override is on effective behavior, not the
option, so the stored preference survives untouched.
Auto-generated Example
/** * Filters whether local WordPress comments may be published to Bluesky as replies. * * Runs last, so it has the final say over the stored setting — a host * plugin can force outgoing writes off (or back on) regardless of the * saved preference. The override is on effective behavior, not the * option, so the stored preference survives untouched. * * @param bool $enabled * @return bool The filtered value. */functionmy_atmosphere_should_publish_comments_callback( bool$enabled ) {
// Your code here.return$enabled;
}
add_filter( 'atmosphere_should_publish_comments', 'my_atmosphere_should_publish_comments_callback' );
Parameters
bool$enabled Whether comment publishing is enabled.