PHP Class WPSEO_Metabox_Form_Tab, wordpress-seo

Inheritance: implements WPSEO_Metabox_Tab
Show file Open project: yoast/wordpress-seo

Public Methods

Method Description
__construct ( string $name, string $content, string $link_content, array $options = [] ) Constructor.
content ( ) : string Returns the html for the tab content.
link ( ) : string Returns the html for the tab link.

Method Details

__construct() public method

Constructor.
public __construct ( string $name, string $content, string $link_content, array $options = [] )
$name string The name of the tab, used as an identifier in the html.
$content string The tab content.
$link_content string The text content of the tab link.
$options array Optional link attributes.

content() public method

Returns the html for the tab content.
public content ( ) : string
return string