src/Validation/ValidationServiceProvider.php
public function boot ()
  {
    ValidatorFacade::extend('valid_nonce', function ($attaribute, $value, $params, $validator) {
      $action = $params[0];
      return (bool) wp_verify_nonce($value, $action);
    });
  }
public function boot ()
  {
    ValidatorFacade::extend('valid_nonce', function ($attaribute, $value, $params, $validator) {
      $action = $params[0];
      return (bool) wp_verify_nonce($value, $action);
    });
  }
public function boot ( ) { ValidatorFacade :: extend ( 'valid_nonce' , function ( $ attaribute , $ value , $ params , $ validator ) { $ action = $ params [ 0 ] ; return ( bool ) wp_verify_nonce ( $ value , $ action ) ; } ) ; }
Add valid_nonce validation rule

@return void
Add valid_nonce validation rule