um_excluded_comment_types

Hook type

Filter

Description

Extend excluded comment types

Parameters

$types

(array) Comment Types

Usage

<?php add_filter( 'um_excluded_comment_types', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_excluded_comment_types', 'my_excluded_comment_types', 10, 1 );
function my_profile_active_tab( $types ) {
    // your code here
return $types;
}
?>

Change Log

Since: 2.0

Source

um_excluded_comment_types is located in includes/core/class-query.php::line 152