Definition:
function akismet_recheck_button( $page ) {}
Parameters
- $page
Source code
function akismet_recheck_button( $page ) {
global $submenu;
if ( isset( $submenu['edit-comments.php'] ) )
$link = 'edit-comments.php';
else
$link = 'edit.php';
$button = "<a href='$link?page=akismet-admin&recheckqueue=true&noheader=true' style='display: block; width: 100px; position: absolute; right: 7%; padding: 5px; font-size: 14px; text-decoration: underline; background: #fff; border: 1px solid #ccc;'>" . __('Recheck Queue for Spam') . "</a>";
$page = str_replace( '<div class="wrap">', '<div class="wrap">' . $button, $page );
return $page;
}
469

February 11, 2011 


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