um_admin_access_settings_fields

Hook type

Filter

Description

Extend Admin Access Settings Fields

Parameters

$fields

(array) Access Settings Fields

$data

(array) Form Data

Usage

add_filter( 'um_admin_access_settings_fields', 'function_name', 10, 2 );

Examples

<?php
add_filter( 'um_admin_access_settings_fields', 'my_admin_access_settings_fields', 10, 2 );
function my_admin_access_settings_fields( $fields, $data ) {
    // your code here
return $fields;
}
?>

Change Log

Since: 2.0

Source

um_admin_access_settings_fields is located in includes/admin/templates/access/restrict_content.php::line 42