$name ) {
printf(
'%3$s',
esc_attr( $key ),
$key == $this->active_tab ? 'nav-tab-active' : '',
esc_html( $name )
);
}?>
active_tab ) {
case 'lang': // Languages tab
case 'strings': // string translations tab
case 'settings': // settings tab
include( PLL_SETTINGS_INC.'/view-tab-' . $this->active_tab . '.php' );
break;
default:
/**
* Fires when loading the active Polylang settings tab
* Allows plugins to add their own tab
*
* @since 1.5.1
*/
do_action( 'pll_settings_active_tab_' . $this->active_tab );
break;
}?>