modified file plugins

This commit is contained in:
2024-05-09 15:27:03 +00:00
committed by Gitium
parent 9179edb708
commit eeef5ad6e0
128 changed files with 25816 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?php
$user = new \Activitypub\Model\Blog_User();
/*
* Action triggerd prior to the ActivityPub profile being created and sent to the client
*/
\do_action( 'activitypub_json_author_pre', $user->get__id() );
\header( 'Content-Type: application/activity+json' );
echo $user->to_json(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/*
* Action triggerd after the ActivityPub profile has been created and sent to the client
*/
\do_action( 'activitypub_json_author_post', $user->get__id() );