-
-
Notifications
You must be signed in to change notification settings - Fork 31
webmention_refresh
github-actions[bot] edited this page Jan 3, 2026
·
1 revision
/**
* Callback function for the 'webmention_refresh' filter.
*
* @param mixed $commentdata
* @param mixed $comment_ID
* @return mixed The filtered value.
*/
function my_webmention_refresh_callback( $commentdata, $comment_ID ) {
// Your code here.
return $commentdata;
}
add_filter( 'webmention_refresh', 'my_webmention_refresh_callback', 10, 2 );$commentdata$comment_ID
apply_filters( 'webmention_refresh', $commentdata, $comment->comment_ID )