Skip to content

activitypub_construct_model_actor

github-actions[bot] edited this page Aug 28, 2025 · 10 revisions

Fires when a model actor is constructed.

Auto-generated Example

/**
 * Fires when a model actor is constructed.
 *
 * @param Activitypub\User $this 
 * @return Activitypub\User The filtered value.
 */
function my_activitypub_construct_model_actor_callback( Activitypub\User $this ) {
    // Your code here.
    return $this;
}
add_filter( 'activitypub_construct_model_actor', 'my_activitypub_construct_model_actor_callback' );

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