Documentation - Actions / Filters - Filter – Admin – Allow tabs reorder

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInPrint this page

Filter – Admin – Allow tabs reorder

Name
apto/admin/reorder_interface/allow_tabs_reorder

Type
Filter

Arguments
(boolean) $allow_tabs_reorder

Description
This filter can be used to disable the default draggable functionality for the ordering of sorts tabs.

Example

    add_filter( 'apto/admin/reorder_interface/allow_tabs_reorder', '_apto_allow_tabs_reorder' );
    function _apto_allow_tabs_reorder ( $allow_tabs_reorder )
        {
            
            $allow_tabs_reorder    =   FALSE;
            
            return $allow_tabs_reorder;
        
        }