<?php /** * Genesis Framework. * * Provides update notices to make users aware that Genesis and Genesis child * themes do not use the WordPress.org update process. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\Admin * @author StudioPress * @license GPL-2.0-or-later * @link https://my.studiopress.com/themes/genesis/ * @link https://make.wordpress.org/core/2020/07/15/controlling-plugin-and-theme-auto-updates-ui-in-wordpress-5-5/ * @link https://core.trac.wordpress.org/ticket/50663 */ namespace StudioPress\Genesis\Admin\AutoUpdateNotices; add_filter( 'theme_auto_update_setting_template', __NAMESPACE__ . '\\setting_template' ); /* function setting_template() – Alters the update notice shown with theme information. */ add_filter( 'theme_auto_update_debug_string', __NAMESPACE__ . '\\debug_string', 10, 2 ); /* function debug_string() – Alters auto-update notice debug text, such as on the Site Health page. */ add_filter( 'theme_auto_update_setting_html', __NAMESPACE__ . '\\setting_html', 10, 3 ); /* function setting_html() – Alters auto-update notice text in the theme updates listing, visible on WordPress multisite. */