apply_filters( ‘comment_edit_redirect’, string $location, int $comment_id )

In this article

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

Parameters

$locationstring
The URI the user will be redirected to.
$comment_idint
The ID of the comment being edited.

Source

$location = apply_filters( 'comment_edit_redirect', $location, $comment_id );

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.