Archived topic
How to use filters to change the comment form?
1 reply · Started by Pete on January 30, 2015
Viewing posts 1–2 of 2
OK, I've sussed out how to use the action hooks (they are friggin awesome!), now i want to change the comment form (mainly just to add/change some text).
Would you mind giving us an example of this? Thanks
Filters work like this:
add_filter( 'THE_FILTER_NAME','YOUR_CUSTOM_FILTER_FUNCTION' );
function YOUR_CUSTOM_FILTER_FUNCTION() {
return 'Your custom text to replace the normal text';
}
Let me know if that makes sense :)
This archived topic is closed to new replies.