You appear to be a bot. Output may be restricted
Description
Check if the notification is relevant for the current user.
Usage
$bool = Yoast_Notification::display_for_current_user();
Parameters
Returns
bool True if a user needs to see this notification, false if not.
Source
File name: wordpress-seo/admin/class-yoast-notification.php
Lines:
1 to 9 of 9
public function display_for_current_user() { // If the notification is for the current page only, always show. if ( ! $this->is_persistent() ) { return true; } // If the current user doesn't match capabilities. return $this->match_capabilities(); }