comment_edit_redirect

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$location

The URI the user will be redirected to.

$comment_id

The ID of the comment being edited.

Source Source

File: wp-admin/comment.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply