• Resolved ngimelli

    (@ngimelli)


    I want to move the report link into a dropdown menu elsewhere in the comments, to do this I need to get the report link via some PHP function – can anyone tell me what that function is?

Viewing 1 replies (of 1 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hello, sorry for the slow reply.

    There is a class used in this plugin, it might be simply easier to use the hooks that WordPress already provides.

    For example, if you have threading in the comments:

    
    echo apply_filters( 'comment_reply_link', '' );
    

    Or if you have threading disabled:

    
    echo apply_filters( 'get_comment_text', '' );
    
Viewing 1 replies (of 1 total)
  • The topic ‘How to Get Report Link with PHP’ is closed to new replies.