There was an error while loading. Please reload this page.
Filter the NodeInfo data.
/** * Filter the NodeInfo data. * * @param array $nodeinfo * @param string $version * @return array The filtered value. */ function my_nodeinfo_data_callback( array $nodeinfo, string $version ) { // Your code here. return $nodeinfo; } add_filter( 'nodeinfo_data', 'my_nodeinfo_data_callback', 10, 2 );
array
$nodeinfo
string
$version
apply_filters( 'nodeinfo_data', array( 'protocols' => array() ), '2.0' )
\apply_filters( 'nodeinfo_data', $nodeinfo, $version )
← All Hooks