PluginProbe
WP Ultimate Post Grid / 3.3.0
WP Ultimate Post Grid v3.3.0
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
wp-ultimate-post-grid / templates / settings / group-permissions.php

group-permissions.php in WP Ultimate Post Grid 3.3.0, at templates/settings/group-permissions.php

21 lines 735 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 $group_permissions = array(
4 'id' => 'permissions',
5 'name' => __( 'Permissions', 'wp-ultimate-post-grid' ),
6 'description' => __( 'Accepts one value only. Set the minimum capability required to access specific features. For example, set to edit_others_posts to provide access to editors and administrators.', 'wp-ultimate-post-grid' ),
7 'documentation' => 'https://codex.wordpress.org/Roles_and_Capabilities',
8 'icon' => 'lock',
9 'settings' => array(
10 array(
11 'id' => 'features_manage_access',
12 'name' => __( 'Access to Manage Page', 'wp-ultimate-post-grid' ),
13 'type' => 'text',
14 'default' => 'manage_options',
15 'sanitize' => function( $value ) {
16 return preg_replace( '/[,\s]/', '', $value );
17 },
18 ),
19 ),
20 );
21