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

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

$comment_id

(int) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.