• I put some code in function.php, the wp_die() message not work :

    function check_name($username){
    if (strlen($username) > 30){
    wp_die(‘name too long!’);
    }
    }
    add_action (‘register_post’ , ‘check_name’,10,2);

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘An error occurred, please contact with administrator…’ is closed to new replies.