ACF_Admin_Upgrade::network_admin_notices
network_admin_notices
Displays the DB Upgrade prompt on a multi site.
Method of the class: ACF_Admin_Upgrade{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ACF_Admin_Upgrade = new ACF_Admin_Upgrade(); $ACF_Admin_Upgrade->network_admin_notices();
Changelog
| Since 5.7.3 | Introduced. |
ACF_Admin_Upgrade::network_admin_notices() ACF Admin Upgrade::network admin notices code ACF 6.0.4
function network_admin_notices() {
// vars
$view = array(
'button_text' => __( 'Review sites & upgrade', 'acf' ),
'button_url' => network_admin_url( 'index.php?page=acf-upgrade-network' ),
'confirm' => false,
);
// view
acf_get_view( 'html-notice-upgrade', $view );
}