* Retrieve the currently active tab. * * @return string */
()
| 331 | * @return string |
| 332 | */ |
| 333 | private function get_active_tab() { |
| 334 | |
| 335 | return isset( $_GET['tab'] ) && array_key_exists( $_GET['tab'], $this->get_settings_tabs() ) ? $_GET['tab'] : $this->get_default_tab(); |
| 336 | |
| 337 | } |
| 338 | |
| 339 | /** |
| 340 | * Retrieve the settings tabs. |
nothing calls this directly
no test coverage detected