File: /var/www/wp-content/mu-plugins/vendor/wpsec/wp-captcha-plugin/src/events/UnSpamCommentEvent.php
<?php
namespace Wpsec\captcha\events;
class UnSpamCommentEvent extends AbstractCommentEvent {
/**
* Hook action name defined by WordPress
* @see add_action()
*/
const NAME = 'unspammed_comment';
/**
* Hook priority defined by WordPress
* @see add_action()
*/
const PRIORITY = 10;
/**
* Hook allowed arguments defined by WordPress
* @see add_action()
*/
const ACCEPTED_ARGS = 2;
/**
* Load the action hook for UnSpam Comment Event
*
* @since 1.0.0
*/
public static function load_event() {
add_action( self::NAME, array( self::get_callback_handler(), self::CALLBACK_FUNCTION ), self::PRIORITY, self::ACCEPTED_ARGS );
}
}