Filters the URI the user is redirected to after editing a comment in the admin.
$location, $comment_id
Sortie :
@param string $location The URI the user will be redirected to. @param int $comment_id The ID of the comment being edited.
// Modifier la valeur avec le filtre 'comment_edit_redirect'
add_filter('comment_edit_redirect', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($location) {
// Modifier la valeur
return $location;
}
Chargement des actualités...