-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_registered_comment_type
github-actions[bot] edited this page Dec 1, 2025
·
26 revisions
Fires after a ActivityPub comment type is registered.
/**
* Fires after a ActivityPub comment type is registered.
*
* @param string $comment_type
* @param array $args
*/
function my_activitypub_registered_comment_type_callback( string $comment_type, array $args ) {
// Your code here.
}
add_action( 'activitypub_registered_comment_type', 'my_activitypub_registered_comment_type_callback', 10, 2 );-
string$comment_typeComment type. -
array$argsArguments used to register the comment type.
do_action( 'activitypub_registered_comment_type', $comment_type, $args )Follow @[email protected] for updates and news.