Skip to content

activitypub_rest_nodeinfo_pre

github-actions[bot] edited this page Aug 18, 2025 · 8 revisions

Fires before the NodeInfo data is created and sent to the client.

Auto-generated Example

/**
 * Fires before the NodeInfo data is created and sent to the client.
 *
 * @param string $version 
 * @return string The filtered value.
 */
function my_activitypub_rest_nodeinfo_pre_callback( string $version ) {
    // Your code here.
    return $version;
}
add_filter( 'activitypub_rest_nodeinfo_pre', 'my_activitypub_rest_nodeinfo_pre_callback' );

Parameters

  • string $version The NodeInfo version.

Files

\do_action( 'activitypub_rest_nodeinfo_pre', $version )

← All Hooks

Users

Developers

Clone this wiki locally