pum_popup_content_tabindex_attr( $popup_id = null )
Render the popup’s content tabindex attribute to make focusable if needed.
Description Description
Source Source
File: includes/functions/popups/template.php
function pum_popup_content_tabindex_attr( $popup_id = null ) { $popup = pum_get_popup( $popup_id ); if ( ! pum_is_popup( $popup ) ) { return; } // Greater or equal to 0 makes it focusable. echo 'tabindex="0"'; }
Expand full source code Collapse full source code View on Trac