lbrypress/classes/LBRY_Network_Parser.php
2018-10-05 16:50:42 -05:00

21 lines
444 B
PHP

<?php
use League\HTMLToMarkdown\HtmlConverter;
/**
* Parses wordpress posts to be ready for the LBRY Network
* Uses the Html-to-Markdown package
* https://github.com/thephpleague/html-to-markdown
*
* @package LBRYPress
*/
class LBRY_Network_Parser
{
public $converter = null;
public function __construct()
{
require_once LBRY_ABSPATH . 'vendor/autoload.php';
$this->converter = new HtmlConverter();
}
}