apply_filters( 'comment_edit_redirect', string $location, int $comment_id )

Filters the URI the user is redirected to after editing a comment in the admin.


Parameters

$location

(string) The URI the user will be redirected to.

$comment_id

(int) The ID of the comment being edited.


Source

File: wp-admin/comment.php

View on GitHub


Changelog

Changelog
Version Description
WP-2.1.0 Introduced.