PHP code example of wearerequired / js-comment-form-validation
1. Go to this page and download the library: Download wearerequired/js-comment-form-validation library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wearerequired / js-comment-form-validation example snippets
add_filter( 'js_comment_form_validation_settings', function( $script_data ) {
$script_data['rules']['url']['