PHP Class Inpsyde\MultilingualPress\Core\FrontEnd\AlternateLanguages\HTMLLinkTags

Since: 3.0.0
Show file Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( Inpsyde\MultilingualPress\Core\FrontEnd\AlternateLanguages\Translations $translations ) Constructor. Sets up the properties.
render ( ) : boolean Renders an alternate language HTML link tag for each available translation into the HTML head.

Method Details

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Core\FrontEnd\AlternateLanguages\Translations $translations )
$translations Inpsyde\MultilingualPress\Core\FrontEnd\AlternateLanguages\Translations Translations access object.

render() public method

Renders an alternate language HTML link tag for each available translation into the HTML head.
Since: 3.0.0
public render ( ) : boolean
return boolean Whether or not headers have been sent.