[Resolved] Hooks for comments.php

Home Forums Support [Resolved] Hooks for comments.php

Home Forums Support Hooks for comments.php

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #47640
    Pete

    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.

    #47756
    Tom
    Lead Developer
    Lead Developer

    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';
    }
    #47797
    Pete

    Thanks, oh and something unrelated the edit page link is appearing on this page πŸ™‚

    #47798
    Tom
    Lead Developer
    Lead Developer

    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 πŸ™‚

    #47831
    Pete

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

    #47832
    Tom
    Lead Developer
    Lead Developer

    .. 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 πŸ˜‰

    #47834
    Tom
    Lead Developer
    Lead Developer

    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!

    #737322
    Pete

    resolved

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.