bbp_tab_index_attribute( mixed $tab = false )
Output a “tabindex” attribute for an element, if an index was passed.
Description Description
This helper function is in use, but it is generally considered impolite to override the "tabindex" attribute beyond what the browser naturally assigns.
Most internal usages pass false
which results in no attribute being used.
Parameters Parameters
- $tab
-
(Optional) False to skip, any integer to use
Default value: false
Source Source
File: includes/common/template.php
function bbp_tab_index_attribute( $tab = false ) { echo bbp_get_tab_index_attribute( $tab ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |