-
Notifications
You must be signed in to change notification settings - Fork 80
activitypub_queried_object
github-actions[bot] edited this page Aug 18, 2025
·
8 revisions
Filters the queried object.
/**
* Filters the queried object.
*
* @param WP_Term|\WP_Post_Type|\WP_Post|\WP_User|\WP_Comment $queried_object
* @return WP_Term|\WP_Post_Type|\WP_Post|\WP_User|\WP_Comment The filtered value.
*/
function my_activitypub_queried_object_callback( WP_Term|\WP_Post_Type|\WP_Post|\WP_User|\WP_Comment $queried_object = null ) {
// Your code here.
return null;
}
add_filter( 'activitypub_queried_object', 'my_activitypub_queried_object_callback' );
-
WP_Term|\WP_Post_Type|\WP_Post|\WP_User|\WP_Comment|null
$queried_object
The queried object.
apply_filters( 'activitypub_queried_object', $queried_object )
Follow @[email protected] for updates and news.