wphooks.info - manage_comments_nav

manage_comments_nav

(trunk - 5.0-alpha-42490)

The hook occurs in the following file:

wp-admin/includes/class-wp-comments-list-table.php:
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
	$title = ( 'spam' === $comment_status ) ? esc_attr__( 'Empty Spam' ) : esc_attr__( 'Empty Trash' );
	submit_button( $title, 'apply', 'delete_all', false );
}
		/**
		 * Fires after the Filter submit button for comment types.
		 *
		 * @since 2.5.0
		 *
		 * @param string $comment_status The comment status name. Default 'All'.
		 */
		do_action( 'manage_comments_nav', $comment_status );
		echo '</div>';
	}

	/**
	 * @return string|false
	 */
	public function current_action() {
		if ( isset( $_REQUEST['delete_all'] ) || isset( $_REQUEST['delete_all2'] ) ) {
			return 'delete_all';