Function Reference: geodir_recaptcha_current_subtab
Summary
Get current subtab name.
Package
GeoDirectory_ReCaptcha
Parameters
- $default
- (string) (required) The default value to return when subtab empty.
- Default: None
Return Values
- (string)
- Sub tab name.
Change Log
Since: 1.0.0
Source File
geodir_recaptcha_current_subtab() is located in geodir_recaptcha/includes/gdcaptcha_functions.php [Line: 316]
Source Code
function geodir_recaptcha_current_subtab( $default = '' ) { $subtab = isset( $_REQUEST['subtab'] ) ? $_REQUEST['subtab'] : ''; if ($subtab=='' && $default!='') { $subtab = $default; } return $subtab; }