Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Automator_Notifications::get_sidebar_url()
Get the notification sidebar URL for the page where users can see/read notifications.
Return Return
(string)
Source Source
File: src/core/admin/notifications/notifications.php
public function get_sidebar_url() { $disabled = false; $url = add_query_arg( array( 'page' => 'automator_reports', 'open' => 'automator_notification_sidebar', ), admin_url( 'admin.php' ) ); if ( false !== $disabled ) { $url = is_multisite() ? network_admin_url( 'admin.php?page=automator_network' ) : admin_url( 'admin.php?page=automator_settings' ); } return $url; }
Expand full source code Collapse full source code View on Github