WordPress.org

Ready to get started?Download WordPress

Forums

the_comment before line break (1 post)

  1. wesg
    Member
    Posted 6 years ago #

    I'm writing a comment plugin, and I'm looking for a way to get the text between two delimiters. I have the function, but I'm stuck because I can't use a delimiter for the end of the line. I've tried \n

    Here's an example comment:

    Hello,
    I really like your website.

    How can I detect the new line after the , ?

Topic Closed

This topic has been closed to new replies.

About this Topic