akismet_check_for_spam_button

Definition:
function akismet_check_for_spam_button($comment_status) {}

Parameters

  • $comment_status

Source code

function akismet_check_for_spam_button($comment_status) {

	if ( 'approved' == $comment_status )

		return;

	if ( function_exists('plugins_url') )

		$link = 'admin.php?action=akismet_recheck_queue';

	else

		$link = 'edit-comments.php?page=akismet-admin&recheckqueue=true&noheader=true';

	echo "</div><div class='alignleft'><a class='button-secondary checkforspam' href='$link'>" . __('Check for Spam') . "</a>";

}

421

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: