Customize "Leave a Comment" text by custom post type

I have four custom post types and I would like to edit the “leave a comment” text to customize them to each however the code I have is not working. I also tried the suggested code from the "Change the default “Leave a Comment text” question from April 2016 but also no luck. Any help would be greatly appreciated

    function stockabl_directory_comment_form( $title , $post ){
	if( $post->post_type == ‘retailer’ ){
		$my_title['title_reply'] = __( 'Worked with this retailer before? Share your experience with the community.' );

Also tried without success:

function wpdocs_comment_form_defaults( $defaults ) {
$defaults['title_reply'] = __( 'Add a Comment' );
 return $defaults;
}
add_filter( 'comment_form_defaults', 'wpdocs_comment_form_defaults' );
		return $my_title;
}
	return $title;
}

add_filter(‘comment_form_defaults’, ‘stockabl_directory_comment_form’ , 20 , 2 );

Did you try the solution here?

Or you can copy comments.php to your child theme and edit, I tested both methods and both work perfectly fine.

I had already tried that as I mentioned in my original post but your suggestion led me to look closer at my theme (page builder framework) and I found that they have a different filter!

Here’s the link to their filters documentation in case anyone else is looking for this in the future! https://wp-pagebuilderframework.com/docs/filters/