-
Notifications
You must be signed in to change notification settings - Fork 12
micropub_post_content
github-actions[bot] edited this page Jan 10, 2026
·
2 revisions
This filter is documented above.
/**
* This filter is documented above.
*
* @param string $post_content
* @param array $input
* @return string The filtered value.
*/
function my_micropub_post_content_callback( string $post_content, array $input ) {
// Your code here.
return $post_content;
}
add_filter( 'micropub_post_content', 'my_micropub_post_content_callback', 10, 2 );-
string$post_contentThe post content. -
array$inputThe Micropub request input.
\apply_filters( 'micropub_post_content', $post_content, $this->input )\apply_filters( 'micropub_post_content', $post_content, $this->input )