Skip to content

activitypub_the_content

github-actions[bot] edited this page Jul 29, 2025 · 13 revisions

Filters the post content after it was transformed for ActivityPub.

Auto-generated Example

add_filter(
    'activitypub_the_content',
    function (
        string $content,
        WP_Comment $comment
    ) {
        // Your code here
        return $content;
    },
    10,
    2
);

Parameters

  • string $content The content of the comment.
  • WP_Comment $comment The comment object.

Returns

string The filtered content of the comment.

Files

\apply_filters( 'activitypub_the_content', $content, $comment )
\apply_filters( 'activitypub_the_content', $content, $post )

Hooks

Users

Developers

Clone this wiki locally