Skip to content

nodeinfo_data

github-actions[bot] edited this page Oct 1, 2025 · 1 revision

Filter the NodeInfo data.

Auto-generated Example

/**
 * 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 );

Parameters

  • array $nodeinfo The NodeInfo data.
  • string $version The NodeInfo version.

Files

\apply_filters( 'nodeinfo_data', $nodeinfo, $version )

← All Hooks

Users

Developers

Clone this wiki locally