You appear to be a bot. Output may be restricted
Description
WPSEO_Option_Tabs constructor.
Usage
WPSEO_Option_Tabs::__construct( $base, $active_tab );
Parameters
- $base
- ( string ) required – Base of the tabs.
- $active_tab
- ( string ) optional – Currently active tab.
Returns
void
Source
File name: wordpress-seo/admin/class-option-tabs.php
Lines:
1 to 6 of 6
public function __construct( $base, $active_tab = '' ) { $this->base = sanitize_title( $base ); $tab = filter_input( INPUT_GET, 'tab' ); $this->active_tab = empty( $tab ) ? $active_tab : $tab; }