akismet_excluded_comment_types

akismet_excluded_comment_types

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('akismet_excluded_comment_types') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet.php line 651
    		 *                             when counting a user's approved comments.
    		 *
    		 * @since 4.2.2
    		 */
    		$excluded_comment_types = apply_filters( 'akismet_excluded_comment_types', array() );
    
    		$comment_type_where = '';
    
    		if ( is_array( $excluded_comment_types ) && ! empty( $excluded_comment_types ) ) {
    			$excluded_comment_types = array_unique( $excluded_comment_types );