Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bryan Lee

    (@bryan3598)

    ?? 1.6.1 ????? ???
    ?? functions.php ??? ??? ?? ???.

    add_filter(‘kkb_entry_validation_after’, ‘my_custom_validation’, 10, 2);

    function my_custom_validation($result, $data){
    if(isset($data[‘entry_section’])){
    if($data[‘entry_section’] == “0”){
    $result[‘status’] = “failed”;
    $result[‘message’] = “??? ????? ???.”;
    } else {
    $result[‘status’] = “success”;
    }
    }
    return $result;
    }

    ?? ???? ?? ??????.

    Thread Starter demock

    (@demock)

    ???? ??? ??????. ?? ?????.

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