WordPress at a glance
filter is not described

add_trashed_suffix_to_trashed_posts filter-hook . WP 5.4.0

Filters whether or not to add a __trashed suffix to trashed posts that match the name of the updated post.

Usage

add_filter( 'add_trashed_suffix_to_trashed_posts', 'filter_function_name_7658', 10, 3 );
function filter_function_name_7658( $add_trashed_suffix, $post_name, $post_ID ){
	// filter...

	return $add_trashed_suffix;
}
$add_trashed_suffix(true/false)
Whether to attempt to add the suffix.
$post_name(string)
The name of the post being updated.
$post_ID(int)
Post ID.

Changelog

Since 5.4.0 Introduced.

Where the hook is called

wp_insert_post()
add_trashed_suffix_to_trashed_posts
wp-includes/post.php 3914
$add_trashed_suffix = apply_filters( 'add_trashed_suffix_to_trashed_posts', true, $post_name, $post_ID );

Where in WP core the hook is used WordPress

Usage not found.