\PSV_Render_View

Render the Split View

This class is called when the split view custom type is loaded in the front end. It displays the split view by calling the split view shortcode.

Summary

Methods
Properties
Constants
get_instance()
__construct()
init()
No public properties found
No constants found
No protected methods found
$instance
$id
N/A
No private methods found
No private properties found
N/A

Properties

$instance

$instance : object

Plugin instance.

Type

object

$id

$id : string

Holds the post id for the split view

Type

string

Methods

get_instance()

get_instance() : object

Access this class working instance

Returns

object —

instance of this class

__construct()

__construct()

intentionally left blank

init()

init(string $content) : string

Checks that we are in the right post type and displays the view.

Parameters

string $content

the current content being loaded by Wordpress

Returns

string —

shortcode html for view or the content that was going to be loaded any ways.