-
Notifications
You must be signed in to change notification settings - Fork 12
micropub_tax_input
github-actions[bot] edited this page Jan 10, 2026
·
2 revisions
Filters the taxonomy input for a Micropub post.
/**
* Filters the taxonomy input for a Micropub post.
*
* @param array $tax_input
* @param array $input
* @return array The filtered value.
*/
function my_micropub_tax_input_callback( array $tax_input = null, array $input ) {
// Your code here.
return null;
}
add_filter( 'micropub_tax_input', 'my_micropub_tax_input_callback', 10, 2 );-
array|null$tax_inputTaxonomy terms to set. -
array$inputThe Micropub request input.
\apply_filters( 'micropub_tax_input', null, $this->input )