pterotype/activitypub.php

12 lines
202 B
PHP
Raw Normal View History

2018-08-21 13:17:07 +00:00
<?php
/*
Plugin Name: ActivityPub
*/
function post_published_activity( $ID, $post ) {
// TODO
$author = $post->post_author;
}
add_action( 'publish_post', 'post_published_activity', 10, 2 );
?>