WordPress开启后台全部设置

如下图所示,今天就来说下,如何开启后台全部设置,仅需把文章下方的代码添加到模板目录下“functions.php”中即可,记得上传覆盖哦~

WordPress开启后台全部设置

//开启WordPress全部设置
function all_settings_link() {
add_options_page(__('All Settings'), __('All Settings'), 'administrator', 'options.php');
}
add_action('admin_menu', 'all_settings_link');

七彩云博客 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:WordPress开启后台全部设置

您必须 登录 才能发表评论!

(5)个小伙伴在吐槽
  1. Methadone Maintenance Therapy http://aaa-rehab.com Alcohol Rehab Centers Substance Abuse Programs Near Me http://avto.izmail.es/user/rehabcenters/
    Substance Abuse In The Workplace2020-04-01 13:39 Windows 10 | Chrome 66.0.3359.181
  2. Drug Rehabilitation Programs http://aaa-rehab.com Drug Rehab Near Me Drug And Rehab Centers Near Me https://leetcode.com/Davorxb
    Inpatient Drug Treatment Facilities2020-03-31 21:43 Windows 10 | Chrome 67.0.3396.99
  3. Luxury Drug Treatment Centers http://aaa-rehab.com Drug Rehab Centers Substance Use Assessment http://massandra.su/user/rehabcenter/
    Free Inpatient Drug Rehab2020-03-31 04:40 Windows 7 | Chrome 66.0.3359.181
  4. Samhsa Substance Abuse http://aaa-rehab.com Drug Rehab Near Me Alcohol Rehab Near Me https://musikersuche.musicstore.de/profile/detail/user_id/124174
    Alcohol Outpatient Near Me2020-03-30 13:32 Windows 7 | Chrome 68.0.3440.106
  5. Free Rehab Programs http://aaa-rehab.com Drug Rehab Centers Near Me http://aaa-rehab.com Alcohol Abuse Disorder Dsm 5 http://aaa-rehab.com
    Opioid Abuse Disorder2020-03-27 01:38 Windows 10 | Chrome 67.0.3396.62