Skip to content

activitypub_registered_comment_type

github-actions[bot] edited this page Dec 1, 2025 · 26 revisions

Fires after a ActivityPub comment type is registered.

Auto-generated Example

/**
 * 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 );

Parameters

  • string $comment_type Comment type.
  • array $args Arguments used to register the comment type.

Files

do_action( 'activitypub_registered_comment_type', $comment_type, $args )

← All Hooks

Users

Developers

Clone this wiki locally