22 lines
373 B
PHP
22 lines
373 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Parses wordpress posts to be ready for the LBRY Network
|
||
|
*
|
||
|
* @package LBRYPress
|
||
|
*/
|
||
|
|
||
|
class LBRY_Network_Parser
|
||
|
{
|
||
|
private static $instance = null;
|
||
|
|
||
|
public static function get_instance()
|
||
|
{
|
||
|
// Create the object
|
||
|
if (self::$instance === null) {
|
||
|
self::$instance = new self;
|
||
|
}
|
||
|
|
||
|
return self::$instance;
|
||
|
}
|
||
|
}
|