Methods
1 to 8 of 8
- Admin_Sidebar_Link::get_link_offset() – We create a menu offset by counting all the pages that have a jetpack_admin_page set as the capability.
- Admin_Sidebar_Link::get_new_link() – Retuns the new link.
- Admin_Sidebar_Link::has_backup() – Detects if Backup is enabled.
- Admin_Sidebar_Link::has_scan() – Detects if Scan is enabled.
- Admin_Sidebar_Link::init_hooks() – Adds action hooks.
- Admin_Sidebar_Link::instance() – Get the singleton instance of the class.
- Admin_Sidebar_Link::maybe_refresh_transient_cache() – Triggers a cron job to refresh the Scan and Rewind state cache.
- Admin_Sidebar_Link::refresh_state_cache() – Refreshes the state cache via API call. Called via cron.