-
Notifications
You must be signed in to change notification settings - Fork 12
micropub_query
github-actions[bot] edited this page Jan 10, 2026
·
2 revisions
Filters the Micropub query response.
/**
* 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 );-
array|Error$respThe query response. -
array$inputThe Micropub request input.
\apply_filters( 'micropub_query', $resp, $this->input )