um_email_templates_columns

Hook type

Filter

Description

Email Notifications List Table columns

Parameters

$columns

(array) Columns

Usage

add_filter( 'um_email_templates_columns', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_email_templates_columns', 'my_email_templates_columns', 10, 1 );
function my_email_templates_columns( $columns ) {
    // your code here
$columns['my-custom-column'] = 'My Custom Column';
return $columns;
}
?>

Change Log

Since: 2.0

Source

um_email_templates_columns is located in includes/admin/core/list-tables/emails-list-table.php::line 195