ID, 'afpw_already_reviewed', '1');
}
}
add_action('admin_notices','afpw_admin_notices');
function afpw_admin_notices() {
$current_user = wp_get_current_user();
$afpw_already_reviewed = get_user_meta($current_user->ID, 'afpw_already_reviewed', true);
//get_option('afpw_display_review_msg') == '1'
if (get_transient('afpw_hide_review_msg') != '1' and $afpw_already_reviewed != '1'){
$notice = AFPWAdminNotice::getInstance();
$notice->displayInfo(
"share your review
Thank you for installing Author Facebook Page Widget.
I hope you are enjoying it! If you really like it then please share your reviews at
WordPress.org. I've already done this.
You can send your suggestions as well.");
}
}