2018-08-31 18:50:29 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Class for publishing to the LBRY Network
|
|
|
|
*
|
|
|
|
* @package LBRYPress
|
|
|
|
*/
|
|
|
|
|
|
|
|
class LBRY_Network_Publisher
|
|
|
|
{
|
2018-09-11 15:10:15 -05:00
|
|
|
/**
|
|
|
|
* [__construct description]
|
|
|
|
*/
|
|
|
|
public function __construct()
|
2018-08-31 18:50:29 -05:00
|
|
|
{
|
|
|
|
}
|
2018-10-12 01:22:20 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Publish the post to the LBRY Network
|
|
|
|
* @param int $post_id The ID of the post we are publishing
|
|
|
|
* @param array $channels An array of channels we are publishing to
|
|
|
|
*/
|
|
|
|
public function publish($post, $channels)
|
|
|
|
{
|
|
|
|
$name = $post->post_name;
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
2018-08-31 18:50:29 -05:00
|
|
|
}
|