Restoring WordPress Links Functionality

Here’s what you need to add to the functions.php file of a new WordPress installation to restore the legacy Links functionality:

add_filter( 'pre_option_link_manager_enabled', '__return_true' );