{"id":54374,"date":"2017-08-28T15:22:11","date_gmt":"2017-08-28T18:22:11","guid":{"rendered":"https:\/\/wiki.samuelchopard.ch\/?p=54374"},"modified":"2020-05-05T22:10:47","modified_gmt":"2020-05-05T20:10:47","slug":"how-to-enable-automatic-updates","status":"publish","type":"post","link":"https:\/\/samuelchopard.ch\/wiki\/library\/how-to-enable-automatic-updates\/","title":{"rendered":"How to enable automatic updates"},"content":{"rendered":"<p><!--more--><\/p>\n<p>Add the following code to your WordPress installation&#8217;s\u00a0<em>wp-config.php<\/em>:<\/p>\n<pre class=\"EnlighterJSRAW\">\r\n\/* Enable automatic updates *\/\r\ndefine( 'WP_AUTO_UPDATE_CORE', true );\r\nadd_filter( 'auto_update_plugin', '__return_true' );\r\nadd_filter( 'auto_update_theme', '__return_true' );<\/pre>\n<p>&nbsp;<\/p>\n<p>Source:\u00a0<a target=\"_blank\" href=\"https:\/\/codex.wordpress.org\/Configuring_Automatic_Background_Updates\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/codex.wordpress.org\/Configuring_Automatic_Background_Updates<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Add the following code to your WordPress installation's\u00a0wp-config.php: \/* Enable automatic updates *\/ define( 'WP_AUTO_UPDATE_CORE', true ); add_filter( 'auto_update_plugin', '__return_true' [...]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,3,4,5,9],"tags":[35,37,67,218,296,314,328],"class_list":["post-54374","post","type-post","status-publish","format-standard","hentry","category-dashboard","category-php-tricks","category-plugins","category-themes","category-wordpress","tag-auto-updates","tag-automatic-updates","tag-core","tag-plugins","tag-themes","tag-updates","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/54374","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/comments?post=54374"}],"version-history":[{"count":2,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/54374\/revisions"}],"predecessor-version":[{"id":55144,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/54374\/revisions\/55144"}],"wp:attachment":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/media?parent=54374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/categories?post=54374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/tags?post=54374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}