Skip to content

activitypub_construct_model_actor

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

Fires when a model actor is constructed.

Auto-generated Example

add_filter(
   'activitypub_construct_model_actor',
    'my_activitypub_construct_model_actor_callback'
);

function my_activitypub_construct_model_actor_callback( Activitypub\User $this ) {
    // Your code here.
    return $this;
}

Parameters

  • Activitypub\User $this The User object.

Files

\do_action( 'activitypub_construct_model_actor', $this )
\do_action( 'activitypub_construct_model_actor', $this )

← All Hooks

Users

Developers

Clone this wiki locally