{"id":134,"date":"2022-07-01T17:01:25","date_gmt":"2022-07-01T09:01:25","guid":{"rendered":"https:\/\/wpeyes.com\/wordpress\/?post_type=docs&#038;p=134"},"modified":"2022-07-01T17:01:33","modified_gmt":"2022-07-01T09:01:33","slug":"%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0","status":"publish","type":"docs","link":"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0","title":{"rendered":"\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"update-types\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#update-types\">\u66f4\u65b0\u7c7b\u578b<\/a><\/h2>\n\n\n\n<p><a href=\"https:\/\/codex.wordpress.org\/Version_3.7\">WordPress 3.7<\/a>\u4e2d\u5f15\u5165\u4e86\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\uff0c\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\u5e76\u7b80\u5316\u6574\u4f53\u66f4\u65b0\u4f53\u9a8c\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5927\u591a\u6570\u7f51\u7ad9\u90fd\u542f\u7528\u4e86 WordPress \u7684\u81ea\u52a8\u66f4\u65b0\u3002\u5728\u7279\u6b8a\u60c5\u51b5\u4e0b\uff0c\u63d2\u4ef6\u548c\u4e3b\u9898\u4e5f\u53ef\u80fd\u4f1a\u81ea\u52a8\u66f4\u65b0\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u7ffb\u8bd1\u6587\u4ef6\u4f1a\u81ea\u52a8\u66f4\u65b0\u3002<\/p>\n\n\n\n<p>\u5728 WordPress \u4e2d\uff0c\u6709\u56db\u79cd\u7c7b\u578b\u7684\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\uff1a<\/p>\n\n\n\n<ol><li>\u6838\u5fc3\u66f4\u65b0<\/li><li>\u63d2\u4ef6\u66f4\u65b0<\/li><li>\u4e3b\u9898\u66f4\u65b0<\/li><li>\u7ffb\u8bd1\u6587\u4ef6\u66f4\u65b0<\/li><\/ol>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"core-updates\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#core-updates\">\u6838\u5fc3\u66f4\u65b0<\/a><\/h3>\n\n\n\n<p>\u6838\u5fc3\u66f4\u65b0\u5206\u4e3a\u4e09\u79cd\u7c7b\u578b\uff1a<\/p>\n\n\n\n<ol><li>\u6838\u5fc3\u5f00\u53d1\u66f4\u65b0\uff0c\u88ab\u79f0\u4e3a\u201c\u524d\u6cbf\u201d<\/li><li>\u6b21\u8981\u6838\u5fc3\u66f4\u65b0\uff0c\u4f8b\u5982\u7ef4\u62a4\u548c\u5b89\u5168\u7248\u672c<\/li><li>\u4e3b\u8981\u6838\u5fc3\u7248\u672c\u66f4\u65b0<\/li><\/ol>\n\n\n\n<p>\u5728 WordPress 5.6 \u4e4b\u524d\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6bcf\u4e2a\u7ad9\u70b9\u90fd\u4e3a\u6b21\u8981\u6838\u5fc3\u7248\u672c\u548c\u7ffb\u8bd1\u6587\u4ef6\u542f\u7528\u4e86\u81ea\u52a8\u66f4\u65b0\u3002\u4ece WordPress 5.6 \u53ca\u66f4\u9ad8\u7248\u672c\u5f00\u59cb\uff0c\u6bcf\u4e2a\u65b0\u7ad9\u70b9\u90fd\u4f1a\u81ea\u52a8\u542f\u7528\u6b21\u8981\u7248\u672c\u548c\u4e3b\u8981\u7248\u672c\u3002<\/p>\n\n\n\n<p>\u5df2\u7ecf\u8fd0\u884c\u5f00\u53d1\u7248\u672c\u7684\u7ad9\u70b9\u4e5f\u9ed8\u8ba4\u542f\u7528\u5bf9\u8fdb\u4e00\u6b65\u5f00\u53d1\u7248\u672c\u7684\u81ea\u52a8\u66f4\u65b0\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"update-configuration\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#update-configuration\">\u66f4\u65b0\u914d\u7f6e<\/a><\/h2>\n\n\n\n<p>\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4e24\u79cd\u65b9\u6cd5\u4e4b\u4e00\u6765\u914d\u7f6e\u81ea\u52a8\u66f4\u65b0\uff1a\u5728 \u4e2d\u5b9a\u4e49\u5e38\u91cf<code>wp-config.php<\/code>\uff0c\u6216\u4f7f\u7528\u63d2\u4ef6\u6dfb\u52a0\u8fc7\u6ee4\u5668\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configuration-via-wp-config-php\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#configuration-via-wp-config-php\">\u901a\u8fc7 wp-config.php \u8fdb\u884c\u914d\u7f6e<\/a><\/h3>\n\n\n\n<p>\u4f7f\u7528<code>wp-config.php<\/code>\uff0c\u53ef\u4ee5\u5b8c\u5168\u7981\u7528\u81ea\u52a8\u66f4\u65b0\uff0c\u5e76\u4e14\u53ef\u4ee5\u6839\u636e\u66f4\u65b0\u7c7b\u578b\u7981\u7528\u6216\u914d\u7f6e\u6838\u5fc3\u66f4\u65b0\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"constant-to-disable-all-updates\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#constant-to-disable-all-updates\">\u7981\u7528\u6240\u6709\u66f4\u65b0\u7684\u5e38\u91cf<\/a><\/h4>\n\n\n\n<p>\u6838\u5fc3\u5f00\u53d1\u4eba\u5458\u6709\u610f\u8bc6\u5730\u51b3\u5b9a\u542f\u7528\u81ea\u52a8\u66f4\u65b0\u5c0f\u7248\u672c\u548c\u5f00\u7bb1\u5373\u7528\u7684\u7ffb\u8bd1\u6587\u4ef6\u3002\u5c55\u671b\u672a\u6765\uff0c\u8fd9\u5c06\u662f\u4fdd\u8bc1\u60a8\u7684\u7f51\u7ad9\u4fdd\u6301\u6700\u65b0\u548c\u5b89\u5168\u7684\u6700\u4f73\u65b9\u5f0f\u4e4b\u4e00\uff0c\u56e0\u6b64\uff0c\u5f3a\u70c8\u5efa\u8bae\u60a8\u7981\u7528\u8fd9\u4e9b\u66f4\u65b0\u3002<\/p>\n\n\n\n<p>\u8981\u5b8c\u5168\u7981\u7528\u6240\u6709\u7c7b\u578b\u7684\u81ea\u52a8\u66f4\u65b0\uff08\u6838\u5fc3\u6216\u5176\u4ed6\uff09\uff0c\u8bf7\u5c06\u4ee5\u4e0b\u5185\u5bb9\u6dfb\u52a0\u5230\u60a8\u7684<code>wp-config.php<\/code>\u6587\u4ef6\u4e2d\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>define( <\/code><code>'AUTOMATIC_UPDATER_DISABLED'<\/code><code>, true );<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"constant-to-configure-core-updates\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#constant-to-configure-core-updates\">\u914d\u7f6e\u6838\u5fc3\u66f4\u65b0\u7684\u5e38\u91cf<\/a><\/h4>\n\n\n\n<p>\u8981\u4e3a\u4e3b\u8981\u7248\u672c\u6216\u5f00\u53d1\u76ee\u7684\u542f\u7528\u81ea\u52a8\u66f4\u65b0\uff0c\u4ece<code>WP_AUTO_UPDATE_CORE<\/code>\u5e38\u91cf\u5f00\u59cb\u3002\u5b9a\u4e49\u6b64\u5e38\u91cf\u7684\u4e09\u79cd\u65b9\u5f0f\u4e4b\u4e00\u5141\u8bb8\u60a8\u4e00\u6b21\u5168\u9762\u542f\u7528\u6216\u5168\u9762\u7981\u7528\u591a\u79cd\u7c7b\u578b\u7684\u6838\u5fc3\u66f4\u65b0\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>define( <\/code><code>'WP_AUTO_UPDATE_CORE'<\/code><code>, true );<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><code>WP_AUTO_UPDATE_CORE<\/code>\u53ef\u4ee5\u7528\u4e09\u4e2a\u503c\u4e4b\u4e00\u5b9a\u4e49\uff0c\u6bcf\u4e2a\u503c\u4ea7\u751f\u4e0d\u540c\u7684\u884c\u4e3a\uff1a<\/p>\n\n\n\n<ul><li>\u4ef7\u503c<code>true<\/code>\u2013 \u5f00\u53d1\u3001\u6b21\u8981\u548c\u4e3b\u8981\u66f4\u65b0\u90fd\u5df2<strong>\u542f\u7528<\/strong><\/li><li>\u4ef7\u503c<code>false<\/code>\u2013 \u5f00\u53d1\u3001\u6b21\u8981\u548c\u4e3b\u8981\u66f4\u65b0\u90fd\u88ab<strong>\u7981\u7528<\/strong><\/li><li>\u503c<code>'minor'<\/code>\u2013<strong>\u542f\u7528\u6b21\u8981\u66f4\u65b0\uff0c<\/strong><strong>\u7981\u7528<\/strong>\u5f00\u53d1\u548c\u4e3b\u8981\u66f4\u65b0<strong><\/strong><\/li><\/ul>\n\n\n\n<p>\u8bf7\u6ce8\u610f\uff0c\u53ea\u6709\u5df2\u7ecf\u8fd0\u884c\u5f00\u53d1\u7248\u672c\u7684\u7ad9\u70b9\u624d\u4f1a\u6536\u5230\u5f00\u53d1\u66f4\u65b0\u3002<\/p>\n\n\n\n<p><code>WP_AUTO_UPDATE_CORE<\/code>\u5bf9\u4e8e\u5f00\u53d1\u7ad9\u70b9\uff0c\u9ed8\u8ba4\u503c\u4e3a<code>true<\/code>.&nbsp;<code>WP_AUTO_UPDATE_CORE<\/code>\u5bf9\u4e8e\u5176\u4ed6\u7ad9\u70b9\uff0c\u9ed8\u8ba4\u503c\u4e3a<code>minor<\/code>.<\/p>\n\n\n\n<p>\u4ece WordPress 5.6 \u5f00\u59cb\uff0c<code>WP_AUTO_UPDATE_CORE<\/code>\u65b0 WordPress \u5b89\u88c5\u7684\u9ed8\u8ba4\u503c\u4e3a<code>true<\/code>.&nbsp;<code>WP_AUTO_UPDATE_CORE<\/code>\u5bf9\u4e8e\u65b0\u7f51\u7ad9\uff0c\u9ed8\u8ba4\u503c\u4e3a<code>minor<\/code>.<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configuration-via-filters\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#configuration-via-filters\">\u901a\u8fc7\u8fc7\u6ee4\u5668\u914d\u7f6e<\/a><\/h3>\n\n\n\n<p>\u4f7f\u7528\u8fc7\u6ee4\u5668\u53ef\u4ee5\u5bf9\u81ea\u52a8\u66f4\u65b0\u8fdb\u884c\u5fae\u8c03\u63a7\u5236\u3002<\/p>\n\n\n\n<p>\u653e\u7f6e\u8fd9\u4e9b\u8fc7\u6ee4\u5668\u7684\u6700\u4f73\u4f4d\u7f6e\u662f<a href=\"https:\/\/wordpress.org\/support\/article\/must-use-plugins\/\">\u5fc5\u987b\u4f7f\u7528\u7684\u63d2\u4ef6<\/a>\u3002<\/p>\n\n\n\n<p>\u4e0d\u8981\u76f4\u63a5\u5728.&nbsp;<em>_&nbsp;<\/em>WordPress \u672a\u5b8c\u5168\u52a0\u8f7d\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4e0e\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\uff08\u4f8b\u5982 WP-CLI\uff09\u53d1\u751f\u51b2\u7a81\u3002<code>add_filter()<\/code><code>wp-config.php<\/code><\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"disabling-all-updates-via-filter\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#disabling-all-updates-via-filter\">\u901a\u8fc7\u8fc7\u6ee4\u5668\u7981\u7528\u6240\u6709\u66f4\u65b0<\/a><\/h4>\n\n\n\n<p>\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u8fc7\u6ee4\u5668\u7981\u7528\u6240\u6709\u81ea\u52a8\u66f4\u65b0\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>add_filter( <\/code><code>'automatic_updater_disabled'<\/code><code>, <\/code><code>'__return_true'<\/code> <code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"core-updates-via-filter\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#core-updates-via-filter\">\u901a\u8fc7\u8fc7\u6ee4\u5668\u8fdb\u884c\u6838\u5fc3\u66f4\u65b0<\/a><\/h4>\n\n\n\n<p>\u8981\u4ec5\u542f\u7528\u6240\u6709\u6838\u5fc3\u7c7b\u578b\u66f4\u65b0\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u8fc7\u6ee4\u5668\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>add_filter( <\/code><code>'auto_update_core'<\/code><code>, <\/code><code>'__return_true'<\/code> <code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u4f46\u662f\uff0c\u5047\u8bbe\u60a8\u4e0d\u60f3\u542f\u7528\u6216\u7981\u7528\u6240\u6709\u4e09\u79cd\u7c7b\u578b\u7684\u6838\u5fc3\u66f4\u65b0\uff0c\u800c\u662f\u5e0c\u671b\u6709\u9009\u62e9\u5730\u542f\u7528\u6216\u7981\u7528\u5b83\u4eec\u3002\u8fd9\u5c31\u662f<code>allow_dev_auto_core_updates<\/code>\u3001<code>allow_minor_auto_core_updates<\/code>\u548c<code>allow_major_auto_core_updates<\/code>\u8fc7\u6ee4\u5668\u7684\u7528\u6b66\u4e4b\u5730\u3002<\/p>\n\n\n\n<p>WordPress \u5185\u7f6e\u4e86\u4e24\u4e2a\u901f\u8bb0\u51fd\u6570\uff0c\u53ef\u8ba9\u60a8\u4f7f\u7528\u5355\u884c\u4ee3\u7801\u542f\u7528\u6216\u7981\u7528\u7279\u5b9a\u7c7b\u578b\u7684\u6838\u5fc3\u66f4\u65b0\u3002\u5b83\u4eec\u662f<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/__return_true\">__return_true<\/a>\u548c<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/__return_false\">__return_false<\/a>\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u793a\u4f8b\u8fc7\u6ee4\u5668\uff1a<\/p>\n\n\n\n<p>\u8981\u4e13\u95e8\u5355\u72ec<em>\u542f\u7528<\/em>\u5b83\u4eec\uff08\u8981\u7981\u7528\uff0c\u8bf7\u4f7f\u7528<strong>false<\/strong>\u800c\u4e0d\u662f<strong>true<\/strong>\uff09\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123<\/td><td><code>add_filter( <\/code><code>'allow_dev_auto_core_updates'<\/code><code>, <\/code><code>'__return_true'<\/code> <code>);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/code><code>\/\/ Enable development updates<\/code><code>add_filter( <\/code><code>'allow_minor_auto_core_updates'<\/code><code>, <\/code><code>'__return_true'<\/code> <code>);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/code><code>\/\/ Enable minor updates<\/code><code>add_filter( <\/code><code>'allow_major_auto_core_updates'<\/code><code>, <\/code><code>'__return_true'<\/code> <code>);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/code><code>\/\/ Enable major updates<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u5bf9\u4e8e\u5f00\u53d1\u4eba\u5458\uff1a\u5373\u4f7f\u5728 WordPress \u76ee\u5f55\u6216\u5176\u4efb\u4f55\u7236\u76ee\u5f55\u4e2d\u627e\u5230 VCS \u6587\u4ef6\u5939\uff08.git\u3001.hg\u3001.svn \u7b49\uff09\uff0c\u4e5f\u8981<em>\u542f\u7528\u81ea\u52a8\u66f4\u65b0\uff1a<\/em><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>add_filter( <\/code><code>'automatic_updates_is_vcs_checkout'<\/code><code>, <\/code><code>'__return_false'<\/code><code>, 1 );<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"plugin-theme-updates-via-filter\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#plugin-theme-updates-via-filter\">\u901a\u8fc7\u8fc7\u6ee4\u5668\u66f4\u65b0\u63d2\u4ef6\u548c\u4e3b\u9898<\/a><\/h4>\n\n\n\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\u4ec5\u5728\u7279\u6b8a\u60c5\u51b5\u4e0b\u53d1\u751f\u5728\u63d2\u4ef6\u548c\u4e3b\u9898\u4e0a\uff0c\u7531 WordPress.org API \u54cd\u5e94\u786e\u5b9a\uff0c\u8be5\u54cd\u5e94\u7531 WordPress \u5b89\u5168\u56e2\u961f\u63a7\u5236\uff0c\u7528\u4e8e\u4fee\u8865\u5173\u952e\u6f0f\u6d1e\u3002\u8981\u5728\u6240\u6709\u60c5\u51b5\u4e0b\u542f\u7528\u6216\u7981\u7528\u66f4\u65b0\uff0c\u60a8\u53ef\u4ee5\u5229\u7528<code>auto_update_$type<\/code>\u8fc7\u6ee4\u5668\uff0c\u5176\u4e2d<code>$type<\/code>\u5c06\u66ff\u6362\u4e3a\u201c\u63d2\u4ef6\u201d\u6216\u201c\u4e3b\u9898\u201d\u3002<\/p>\n\n\n\n<p>\u6240\u6709\u63d2\u4ef6\u7684\u81ea\u52a8\u66f4\u65b0<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>add_filter( <\/code><code>'auto_update_plugin'<\/code><code>, <\/code><code>'__return_true'<\/code> <code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u6240\u6709\u4e3b\u9898\u7684\u81ea\u52a8\u66f4\u65b0\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>add_filter( <\/code><code>'auto_update_theme'<\/code><code>, <\/code><code>'__return_true'<\/code> <code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528<code>__return_false<\/code>\u800c\u4e0d\u662f<code>__return_true<\/code>\u4e13\u95e8\u7981\u7528\u6240\u6709\u63d2\u4ef6\u548c\u4e3b\u9898\u66f4\u65b0\uff0c\u751a\u81f3\u662f\u6765\u81ea WordPress \u5b89\u5168\u56e2\u961f\u7684\u5f3a\u5236\u5b89\u5168\u63a8\u9001\u3002<\/p>\n\n\n\n<p>\u8fc7\u6ee4\u5668<code>auto_update_$type<\/code>\u8fd8\u5141\u8bb8\u66f4\u7ec6\u7c92\u5ea6\u7684\u63a7\u5236\uff0c\u56e0\u4e3a\u8981\u66f4\u65b0\u7684\u7279\u5b9a\u9879\u76ee\u4e5f\u88ab\u4f20\u9012\u5230\u8fc7\u6ee4\u5668\u4e2d\u3002\u5982\u679c\u60a8\u53ea\u60f3\u4e3a\u7279\u5b9a\u63d2\u4ef6\u542f\u7528\u81ea\u52a8\u66f4\u65b0\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u4ee3\u7801\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123456789101112131415<\/td><td><code>function<\/code> <code>auto_update_specific_plugins ( <\/code><code>$update<\/code><code>, <\/code><code>$item<\/code> <code>) {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>\/\/ Array of plugin slugs to always auto-update<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>$plugins<\/code> <code>= <\/code><code>array<\/code> <code>(<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>'akismet'<\/code><code>,<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>'buddypress'<\/code><code>,<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>);<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>if<\/code> <code>( in_array( <\/code><code>$item<\/code><code>-&amp;gt;slug, <\/code><code>$plugins<\/code> <code>) ) {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>\/\/ Always update plugins in this array<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>return<\/code> <code>true;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>} <\/code><code>else<\/code> <code>{<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>\/\/ Else, use the normal API response to decide whether to update or not<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>return<\/code> <code>$update<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>}<\/code><code>}<\/code><code>add_filter( <\/code><code>'auto_update_plugin'<\/code><code>, <\/code><code>'auto_update_specific_plugins'<\/code><code>, 10, 2 );<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"translation-updates-via-filter\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#translation-updates-via-filter\">\u901a\u8fc7\u8fc7\u6ee4\u5668\u66f4\u65b0\u7ffb\u8bd1<\/a><\/h4>\n\n\n\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u5df2\u542f\u7528\u81ea\u52a8\u7ffb\u8bd1\u6587\u4ef6\u66f4\u65b0\uff0c\u4e0e\u6b21\u8981\u6838\u5fc3\u66f4\u65b0\u76f8\u540c\u3002<\/p>\n\n\n\n<p>\u8981\u7981\u7528\u7ffb\u8bd1\u6587\u4ef6\u66f4\u65b0\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>add_filter( <\/code><code>'auto_update_translation'<\/code><code>, <\/code><code>'__return_false'<\/code> <code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"disable-emails-via-filter\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#disable-emails-via-filter\">\u901a\u8fc7\u8fc7\u6ee4\u5668\u7981\u7528\u7535\u5b50\u90ae\u4ef6<\/a><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12<\/td><td><code>\/\/ Disable update emails<\/code><code>add_filter( <\/code><code>'auto_core_update_send_email'<\/code><code>, <\/code><code>'__return_false'<\/code> <code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u6b64\u8fc7\u6ee4\u5668\u8fd8\u53ef\u7528\u4e8e\u6839\u636e\u7535\u5b50\u90ae\u4ef6 $type\uff08\u6210\u529f\u3001\u5931\u8d25\u3001\u5173\u952e\uff09\u3001\u66f4\u65b0\u7c7b\u578b\u5bf9\u8c61 $core_update \u6216 $result \u64cd\u4f5c\u66f4\u65b0\u7535\u5b50\u90ae\u4ef6\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123456<\/td><td><code>\/* @param bool&nbsp;&nbsp; $send&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Whether to send the email. Default true.<\/code><code>@param string $type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The type of email to send. Can be one of 'success', 'fail', 'critical'.<\/code><code>@param object $core_update The update offer that was attempted.<\/code><code>@param mixed&nbsp; $result&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The result for the core update. Can be WP_Error.<\/code><code>*\/<\/code><code>apply_filters( <\/code><code>'auto_core_update_send_email'<\/code><code>, true, <\/code><code>$type<\/code><code>, <\/code><code>$core_update<\/code><code>, <\/code><code>$result<\/code> <code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"resources\"><a href=\"https:\/\/wordpress.org\/support\/article\/configuring-automatic-background-updates\/#resources\">\u8d44\u6e90<\/a><\/h2>\n\n\n\n<ul><li><a href=\"https:\/\/make.wordpress.org\/core\/2013\/10\/25\/the-definitive-guide-to-disabling-auto-updates-in-wordpress-3-7\/\">https:\/\/make.wordpress.org\/core\/2013\/10\/25\/the-definitive-guide-to-disabling-auto-updates-in-wordpress-3-7\/<\/a>\u4e0a\u7684\u66f4\u591a\u793a\u4f8b<a href=\"https:\/\/make.wordpress.org\/core\/2013\/10\/25\/the-definitive-guide-to-disabling-auto-updates-in-wordpress-3-7\/\"><\/a><\/li><li>\u66f4\u591a\u4fe1\u606f\u5728\u8fd9\u91cc\uff1a<a href=\"http:\/\/wordpress.stackexchange.com\/questions\/120081\/how-do-i-configure-automatic-updates-in-wordpress-3-7\" target=\"_blank\" rel=\"noreferrer noopener\">http :\/\/wordpress.stackexchange.com\/questions\/120081\/how-do-i-configure-automatic-updates-in-wordpress-3-7<\/a><\/li><li>\u5173\u4e8e wp-cli \u51b2\u7a81\u7684\u4fe1\u606f\uff1a<a href=\"https:\/\/github.com\/wp-cli\/wp-cli\/issues\/1310\" target=\"_blank\" rel=\"noreferrer noopener\">https :\/\/github.com\/wp-cli\/wp-cli\/issues\/1310<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u66f4\u65b0\u7c7b\u578b WordPress 3.7\u4e2d\u5f15\u5165\u4e86\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\uff0c\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\u5e76\u7b80\u5316\u6574\u4f53\u66f4\u65b0\u4f53\u9a8c\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5927\u591a\u6570\u7f51 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0\"> <span class=\"screen-reader-text\">\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"doc_category":[3],"doc_tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0 - WordPress\u4e2d\u6587<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpeyes.com\/wordpress\/docs\/\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0 - WordPress\u4e2d\u6587\" \/>\n<meta property=\"og:description\" content=\"\u66f4\u65b0\u7c7b\u578b WordPress 3.7\u4e2d\u5f15\u5165\u4e86\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\uff0c\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\u5e76\u7b80\u5316\u6574\u4f53\u66f4\u65b0\u4f53\u9a8c\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5927\u591a\u6570\u7f51 &hellip; \u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0 Read More \u00bb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpeyes.com\/wordpress\/docs\/\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\" \/>\n<meta property=\"og:site_name\" content=\"WordPress\u4e2d\u6587\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-01T09:01:33+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0\",\"name\":\"\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0 - WordPress\u4e2d\u6587\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\"},\"datePublished\":\"2022-07-01T09:01:25+00:00\",\"dateModified\":\"2022-07-01T09:01:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/docs\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/\",\"name\":\"WordPress\u4e2d\u6587\",\"description\":\"wpeyes\u6280\u672f\u89c6\u70b9\",\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpeyes.com\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\",\"name\":\"WordPress\u4e2d\u6587\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png\",\"contentUrl\":\"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png\",\"width\":1000,\"height\":1000,\"caption\":\"WordPress\u4e2d\u6587\"},\"image\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0 - WordPress\u4e2d\u6587","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpeyes.com\/wordpress\/docs\/\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0","og_locale":"zh_CN","og_type":"article","og_title":"\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0 - WordPress\u4e2d\u6587","og_description":"\u66f4\u65b0\u7c7b\u578b WordPress 3.7\u4e2d\u5f15\u5165\u4e86\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\uff0c\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\u5e76\u7b80\u5316\u6574\u4f53\u66f4\u65b0\u4f53\u9a8c\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5927\u591a\u6570\u7f51 &hellip; \u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0 Read More \u00bb","og_url":"https:\/\/wpeyes.com\/wordpress\/docs\/\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0","og_site_name":"WordPress\u4e2d\u6587","article_modified_time":"2022-07-01T09:01:33+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0","url":"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0","name":"\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0 - WordPress\u4e2d\u6587","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/#website"},"datePublished":"2022-07-01T09:01:25+00:00","dateModified":"2022-07-01T09:01:33+00:00","breadcrumb":{"@id":"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpeyes.com\/wordpress\/docs\/%e9%85%8d%e7%bd%ae%e8%87%aa%e5%8a%a8%e5%90%8e%e5%8f%b0%e6%9b%b4%e6%96%b0#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/wpeyes.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/wpeyes.com\/wordpress\/docs"},{"@type":"ListItem","position":3,"name":"\u914d\u7f6e\u81ea\u52a8\u540e\u53f0\u66f4\u65b0"}]},{"@type":"WebSite","@id":"https:\/\/wpeyes.com\/wordpress\/#website","url":"https:\/\/wpeyes.com\/wordpress\/","name":"WordPress\u4e2d\u6587","description":"wpeyes\u6280\u672f\u89c6\u70b9","publisher":{"@id":"https:\/\/wpeyes.com\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpeyes.com\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Organization","@id":"https:\/\/wpeyes.com\/wordpress\/#organization","name":"WordPress\u4e2d\u6587","url":"https:\/\/wpeyes.com\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png","contentUrl":"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png","width":1000,"height":1000,"caption":"WordPress\u4e2d\u6587"},"image":{"@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"qmk","author_link":"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk"},"uagb_comment_info":0,"uagb_excerpt":"\u66f4\u65b0\u7c7b\u578b WordPress 3.7\u4e2d\u5f15\u5165\u4e86\u81ea\u52a8\u540e\u53f0\u66f4\u65b0\uff0c\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\u5e76\u7b80\u5316\u6574\u4f53\u66f4\u65b0\u4f53\u9a8c\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5927\u591a\u6570\u7f51&hellip;","_links":{"self":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/docs\/134"}],"collection":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":1,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/docs\/134\/revisions"}],"predecessor-version":[{"id":135,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/docs\/134\/revisions\/135"}],"wp:attachment":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/doc_category?post=134"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/doc_tag?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}