Usage
add_filter( 'add_trashed_suffix_to_trashed_posts', 'your_callback_function', 10, 3 );Filter Callback:
function your_callback_function( true, $post_name, $post_id ) {
// Your code here
return true;
}Parameters
trueParameter 1
$post_nameParameter 2
$post_idParameter 3
🔄 Filter Hook
Filter hooks allow you to modify data before it is saved to the database or displayed on the screen. Filters must return a value.