set context for output

This commit is contained in:
Matthias Pfefferle 2023-06-28 16:43:05 +02:00
parent a706bef130
commit 43db2f2707
2 changed files with 8 additions and 0 deletions

View file

@ -1,6 +1,10 @@
<?php
$user = \Activitypub\User_Factory::get_by_id( \get_the_author_meta( 'ID' ) );
$user->set_context(
\Activitypub\Model\Activity::CONTEXT
);
/*
* Action triggerd prior to the ActivityPub profile being created and sent to the client
*/

View file

@ -1,6 +1,10 @@
<?php
$user = new \Activitypub\Model\Blog_User();
$user->set_context(
\Activitypub\Model\Activity::CONTEXT
);
/*
* Action triggerd prior to the ActivityPub profile being created and sent to the client
*/