PHP Class The_SEO_Framework\Init

Outputs all data in front-end header
Since: 2.7.1
Inheritance: extends Query
Show file Open project: sybrew/the-seo-framework

Protected Properties

Property Type Description
$use_object_cache Allow object caching through a filter.

Public Methods

Method Description
autodescription_run ( ) Runs the plugin on the front-end.
custom_field_redirect ( ) : void Redirects singular page to an alternate URL.
header_actions ( string | array $args = '', boolean $before = true ) : string | empty Runs header actions.
html_output ( ) Echos the header meta and scripts.
init_admin_actions ( ) Initializes Admin Menu actions.
init_global_actions ( ) Initializes the plugin front- and back-end actions.
init_global_filters ( ) Initializes the plugin front- and back-end filters.
init_the_seo_framework ( ) Initializes the plugin actions and filters.

Protected Methods

Method Description
__construct ( ) Constructor. Initializes actions and loads parent constructor.
init_front_end_actions ( ) Initializes front-end actions.
init_front_end_filters ( ) Runs front-end filters.

Method Details

__construct() protected method

Constructor. Initializes actions and loads parent constructor.
protected __construct ( )

autodescription_run() public method

Runs the plugin on the front-end.
Since: 1.0.0
public autodescription_run ( )

custom_field_redirect() public method

Redirects singular page to an alternate URL.
Since: 2.0.9
public custom_field_redirect ( ) : void
return void early on non-singular pages.

header_actions() public method

Runs header actions.
Since: 2.2.6
public header_actions ( string | array $args = '', boolean $before = true ) : string | empty
$args string | array the arguments that will be passed
$before boolean if the header actions should be before or after the SEO Frameworks output
return string | empty The filter output.

html_output() public method

Echos the header meta and scripts.
Since: 1.0.0
public html_output ( )

init_admin_actions() public method

Initializes Admin Menu actions.
Since: 2.7.0
public init_admin_actions ( )

init_front_end_actions() protected method

Disregards other SEO plugins, the meta output does look at detection.
Since: 2.5.2
protected init_front_end_actions ( )

init_front_end_filters() protected method

Runs front-end filters.
Since: 2.5.2
protected init_front_end_filters ( )

init_global_actions() public method

Initializes the plugin front- and back-end actions.
Since: 2.7.1
public init_global_actions ( )

init_global_filters() public method

Initializes the plugin front- and back-end filters.
Since: 2.7.1
public init_global_filters ( )

init_the_seo_framework() public method

Initializes the plugin actions and filters.
Since: 2.7.1

Property Details

$use_object_cache protected property

Allow object caching through a filter.
Since: 2.4.3
protected $use_object_cache