Here is simple WordPress PHP filter to change comment form title “Leave a comment” to your own custom text, filter comment_form_defaults help you to change it using your theme function.php file easily but make sure.
Also try our theme for better customization and support .
Copy below code and paste into theme function.php
add_filter('comment_form_defaults', 'set_my_comment_title', 20); function set_my_comment_title( $defaults ){ $defaults['title_reply'] = __('MY CUSTOM NAME', 'customizr-child'); return $defaults; }
MYTHEME > Function.php (usually found with this name and path)
Before editing code make sure take backup of file. If you have any question please post comment below.
Nice post. thanks for sharing wit us.
Nice work
Nice job. thanks for sharing with us.
nice post,thank you
Love to using wordpress PHP Filter thanks for updating us keep sharing