PHP Class RTMediaInteraction, rtMedia

Author: saurabh
Mostrar archivo Open project: rtCamp/rtMedia

Public Properties

Property Type Description
$context
$routes

Public Methods

Method Description
__construct ( ) Initialise the interaction
default_context ( ) Sets up the default context
endpoint ( ) Just adds the current /{slug}/ to the rewite endpoint
flush_rules ( )
init ( )
rewind_context ( ) Reset the context to the default context after temporarily setting it, Say, for an upload
rewrite_rules ( )
rewrite_tags ( )
route_slugs ( ) Set up the route slugs' array
rtmedia_wpseo_og_desc ( $desc ) * Change description using Yoast SEO plugin's filter
rtmedia_wpseo_og_image ( $data )
rtmedia_wpseo_og_url ( $url )
set_context ( array $context = false )
set_query ( )
set_routers ( )
set_title ( $default, $sep = '|' )

Method Details

__construct() public method

Initialise the interaction
public __construct ( )

default_context() public method

Sets up the default context
public default_context ( )

endpoint() public method

Just adds the current /{slug}/ to the rewite endpoint
public endpoint ( )

flush_rules() public method

public flush_rules ( )

init() public method

public init ( )

rewind_context() public method

Reset the context to the default context after temporarily setting it, Say, for an upload
public rewind_context ( )

rewrite_rules() static public method

static public rewrite_rules ( )

rewrite_tags() static public method

static public rewrite_tags ( )

route_slugs() public method

Set up the route slugs' array
public route_slugs ( )

rtmedia_wpseo_og_desc() public method

* Change description using Yoast SEO plugin's filter
public rtmedia_wpseo_og_desc ( $desc )

rtmedia_wpseo_og_image() public method

public rtmedia_wpseo_og_image ( $data )

rtmedia_wpseo_og_url() public method

public rtmedia_wpseo_og_url ( $url )

set_context() public method

public set_context ( array $context = false )
$context array the context array

set_query() public method

public set_query ( )

set_routers() public method

public set_routers ( )

set_title() public method

public set_title ( $default, $sep = '|' )

Property Details

$context public_oe property

public $context

$routes public_oe property

public $routes