• Hello,

    I search on the Internet but didn’t found anything about override the wp_die() function.

    Is there any way just catch the parameters and do anything we want with it?

    I don’t want to let the default wp_die() (even if it’s customizable with CSS), I wish to display error messages with shadowbox for example. In my case this is comment submit errors that I wish to display this way.

    Does anybody help me?

    Thanks a lot !

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter 10-nice

    (@10-nice)

    Nobody can help me ?

    I think I will have to duplicate the wp_comments_post.php page to no delete it when I will have to update my WP version ??

    I was looking for the same thing. Anyone figure out a way to customize wp_die() without having to alter wp_comments_post.php?

    EnglishMike

    (@stringfold)

    Use the ‘wp_die_handler’ filter and return the name of your own die handler function.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Possible to override wp_die() ?’ is closed to new replies.