WordPress后台开启链接管理功能

开启方法很简单,只需要在你的主题functions.php文件中加入一句代码即可开启该功能,和开启缩略图一样简单。

add_filter( 'pre_option_link_manager_enabled', '__return_true' );