Skip to content
github-actions[bot] edited this page Jan 10, 2026 · 2 revisions

Filters the Micropub query response.

Auto-generated Example

/**
 * Filters the Micropub query response.
 *
 * @param array|Error $resp 
 * @param array       $input 
 * @return array|Error The filtered value.
 */
function my_micropub_query_callback( array|Error $resp, array $input ) {
    // Your code here.
    return $resp;
}
add_filter( 'micropub_query', 'my_micropub_query_callback', 10, 2 );

Parameters

  • array|Error $resp The query response.
  • array $input The Micropub request input.

Files

\apply_filters( 'micropub_query', $resp, $this->input )

← All Hooks

Clone this wiki locally