We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Allow plugins to disable block editor support, thus disabling blocks registered by the ActivityPub plugin.
/** * Allow plugins to disable block editor support, * thus disabling blocks registered by the ActivityPub plugin. * * @param Activitypub\boolean $supports_blocks * @return Activitypub\boolean The filtered value. */ function my_activitypub_site_supports_blocks_callback( Activitypub\boolean $supports_blocks ) { // Your code here. return $supports_blocks; } add_filter( 'activitypub_site_supports_blocks', 'my_activitypub_site_supports_blocks_callback' );
Activitypub\boolean
$supports_blocks
\apply_filters( 'activitypub_site_supports_blocks', true )
← All Hooks