Site logo

Archived topic

Hooks for comments.php

7 replies · Started by Pete on November 20, 2014

Viewing posts 1–8 of 8

Sorry if they're already in place but I'd like to see lots of hooks to edit each part of the comments form and messages.

Those strings all have filters :)

http://generatepress.com/knowledgebase/filter-list/

You can use a filter like this:

add_filter('generate_leave_comment','generate_custom_filter_name');
function generate_custom_filter_name()
{
      return 'Say this instead';
}

Thanks, oh and something unrelated the edit page link is appearing on this page :-)

On which page? The edit_link WP function won't show for anyone but administrators. I just logged into a test subscriber account to confirm this.

Let me know :)

Yep there it is on this page right under the submit button

.. But I have an account with the exact same permissions as you and it doesn't show up.

Can you change your password to something temporary and email it to me so I can take a look?

Where does it try to take you?

Can you see it on a topic you didn't start? (http://generatepress.com/forums/topic/generatepress-and-visual-editor/)

You're pretty good at finding bugs it seems - this one might be a bbPress one ;)

No need to do the password thing.

Seems to be a bbPress bug - if you create the topic, it thinks that you can edit it through that link.

I'll go ahead and post the bug in their forums.

Thanks!

resolved

This archived topic is closed to new replies.