pterotype/activitypub.php
2018-08-21 09:17:07 -04:00

12 lines
202 B
PHP

<?php
/*
Plugin Name: ActivityPub
*/
function post_published_activity( $ID, $post ) {
// TODO
$author = $post->post_author;
}
add_action( 'publish_post', 'post_published_activity', 10, 2 );
?>