-
Notifications
You must be signed in to change notification settings - Fork 85
activitypub_construct_model_actor
github-actions[bot] edited this page Mar 30, 2026
·
18 revisions
Fires when a model actor is constructed.
/**
* Fires when a model actor is constructed.
*
* @param Activitypub\Blog $this
*/
function my_activitypub_construct_model_actor_callback( Activitypub\Blog $this ) {
// Your code here.
}
add_action( 'activitypub_construct_model_actor', 'my_activitypub_construct_model_actor_callback' );-
Activitypub\Blog$thisThe Blog model.
\do_action( 'activitypub_construct_model_actor', $this )\do_action( 'activitypub_construct_model_actor', $this )Follow @activitypub.blog@activitypub.blog for updates and news.