-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_construct_model_actor
github-actions[bot] edited this page Aug 18, 2025
·
10 revisions
Fires when a model actor is constructed.
/**
* Fires when a model actor is constructed.
*
* @param Activitypub\Blog $this
* @return Activitypub\Blog The filtered value.
*/
function my_activitypub_construct_model_actor_callback( Activitypub\Blog $this ) {
// Your code here.
return $this;
}
add_filter( 'activitypub_construct_model_actor', 'my_activitypub_construct_model_actor_callback' );
-
Activitypub\Blog
$this
The Blog model.
\do_action( 'activitypub_construct_model_actor', $this )
\do_action( 'activitypub_construct_model_actor', $this )
Follow @[email protected] for updates and news.