add_action( 'rightnow_end', array
( 'Akismet_Admin', 'rightnow_stats'
) );
add_action( 'manage_comments_nav', array
( 'Akismet_Admin', 'check_for_spam_button'
) );
add_action( 'admin_action_akismet_recheck_queue', array
( 'Akismet_Admin', 'recheck_queue'
) );
add_action( 'wp_ajax_akismet_recheck_queue', array
( 'Akismet_Admin', 'recheck_queue'
) );
add_action( 'wp_ajax_comment_author_deurl', array
( 'Akismet_Admin', 'remove_comment_author_url'
) );
add_action( 'wp_ajax_comment_author_reurl', array
( 'Akismet_Admin', 'add_comment_author_url'
) );
add_action( 'jetpack_auto_activate_akismet', array
( 'Akismet_Admin', 'connect_jetpack_user'
) );
add_filter( 'plugin_action_links', array
( 'Akismet_Admin', 'plugin_action_links'
), 10, 2
);
add_filter( 'comment_row_actions', array
( 'Akismet_Admin', 'comment_row_action'
), 10, 2
);
add_filter( 'plugin_action_links_'.
plugin_basename( plugin_dir_path( __FILE__
) . 'akismet.php'
), array
( 'Akismet_Admin', 'admin_plugin_settings_link'
) );
add_filter( 'wxr_export_skip_commentmeta', array
( 'Akismet_Admin', 'exclude_commentmeta_from_export'
), 10, 3
);
add_filter( 'all_plugins', array
( 'Akismet_Admin', 'modify_plugin_description'
) );
// priority=1 because we need ours to run before core's comment anonymizer runs, and that's registered at priority=10
add_filter( 'wp_privacy_personal_data_erasers', array
( 'Akismet_Admin', 'register_personal_data_eraser'
), 1
);
} public static function admin_init() { if ( get_option( 'Activated_Akismet'
) ) {