um_roles_add_meta_boxes

Hook type

Action

Description

Add meta boxes on add/edit UM Role

Parameters

$meta

(string) Meta Box Key

Usage

add_action( 'um_roles_add_meta_boxes', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_roles_add_meta_boxes', 'my_roles_add_meta_boxes', 10, 1 );
function my_roles_add_meta_boxes( $meta ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_roles_add_meta_boxes is located in includes/admin/templates/role/role-edit.php::line 28