Support » How-To and Troubleshooting » Can't use hyphen in callback file?

Can't use hyphen in callback file?

  • For added flexibility in displaying comments, I’m using wp list comments with a callback to a template that’s called as an include in functions.php.

    If I use a hyphen in the name, things break. But an underscore is ok.

    I know it’s a small point, but for consistency I prefer to use hyphens rather than underscores. Is there a fix?

  • The topic ‘Can't use hyphen in callback file?’ is closed to new replies.