Skip to content

activitypub_extra_field_content

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

Filters the content of an extra field.

Auto-generated Example

add_filter(
   'activitypub_extra_field_content',
    'my_activitypub_extra_field_content_callback',
    10,
    2
);

function my_activitypub_extra_field_content_callback(
    string $content,
    WP_Post $post
) {
    // Your code here.
    return $content;
}

Parameters

  • string $content The content.
  • WP_Post $post The post.

Files

\apply_filters( 'activitypub_extra_field_content', $content, $post )

← All Hooks

Users

Developers

Clone this wiki locally