PluginProbe ʕ •ᴥ•ʔ
Kirki – Freeform Page Builder, Website Builder & Customizer / 6.0.13
Kirki – Freeform Page Builder, Website Builder & Customizer v6.0.13
6.1.1 6.1.0 6.0.14 6.0.13 6.0.12 6.0.11 6.0.10 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 4.0.19 4.0.20 4.0.21 4.0.22 4.0.23 4.0.24 4.1 4.2.0 5.0.0 5.1.0 5.1.1 5.2.0 5.2.1 5.2.2 5.2.3 6.0.0 trunk 3.0.40 3.0.41 3.0.42 3.0.43 3.0.44 3.0.45 3.1.0 3.1.1 3.1.2
kirki / libraries / framework / Wordpress / Constants / Capabilities.php
kirki / libraries / framework / Wordpress / Constants Last commit date
Capabilities.php 3 weeks ago HookNames.php 3 weeks ago HookTypes.php 3 weeks ago MenuTypes.php 3 weeks ago
Capabilities.php
81 lines
1 <?php
2
3 /**
4 * Catalog of standard WordPress capability slug constants.
5 * Uses HasConstants for runtime enumeration of all defined caps.
6 * Reference for authorization checks and capability registration hooks.
7 *
8 * @package Framework
9 * @subpackage Wordpress\Constants
10 * @since 1.0.0
11 */
12 namespace Kirki\Framework\Wordpress\Constants;
13
14 \defined('ABSPATH') || exit;
15 use Kirki\Framework\Concerns\HasConstants;
16 class Capabilities
17 {
18 use HasConstants;
19 public const SWITCH_THEMES = 'switch_themes';
20 public const EDIT_THEMES = 'edit_themes';
21 public const ACTIVATE_PLUGINS = 'activate_plugins';
22 public const EDIT_PLUGINS = 'edit_plugins';
23 public const EDIT_USERS = 'edit_users';
24 public const EDIT_FILES = 'edit_files';
25 public const MANAGE_OPTIONS = 'manage_options';
26 public const MODERATE_COMMENTS = 'moderate_comments';
27 public const MANAGE_CATEGORIES = 'manage_categories';
28 public const MANAGE_LINKS = 'manage_links';
29 public const UPLOAD_FILES = 'upload_files';
30 public const IMPORT = 'import';
31 public const UNFILTERED_HTML = 'unfiltered_html';
32 public const EDIT_POSTS = 'edit_posts';
33 public const EDIT_OTHERS_POSTS = 'edit_others_posts';
34 public const EDIT_PUBLISHED_POSTS = 'edit_published_posts';
35 public const PUBLISH_POSTS = 'publish_posts';
36 public const EDIT_PAGES = 'edit_pages';
37 public const READ = 'read';
38 public const LEVEL_10 = 'level_10';
39 public const LEVEL_9 = 'level_9';
40 public const LEVEL_8 = 'level_8';
41 public const LEVEL_7 = 'level_7';
42 public const LEVEL_6 = 'level_6';
43 public const LEVEL_5 = 'level_5';
44 public const LEVEL_4 = 'level_4';
45 public const LEVEL_3 = 'level_3';
46 public const LEVEL_2 = 'level_2';
47 public const LEVEL_1 = 'level_1';
48 public const LEVEL_0 = 'level_0';
49 public const EDIT_OTHERS_PAGES = 'edit_others_pages';
50 public const EDIT_PUBLISHED_PAGES = 'edit_published_pages';
51 public const PUBLISH_PAGES = 'publish_pages';
52 public const DELETE_PAGES = 'delete_pages';
53 public const DELETE_OTHERS_PAGES = 'delete_others_pages';
54 public const DELETE_PUBLISHED_PAGES = 'delete_published_pages';
55 public const DELETE_POSTS = 'delete_posts';
56 public const DELETE_OTHERS_POSTS = 'delete_others_posts';
57 public const DELETE_PUBLISHED_POSTS = 'delete_published_posts';
58 public const DELETE_PRIVATE_POSTS = 'delete_private_posts';
59 public const EDIT_PRIVATE_POSTS = 'edit_private_posts';
60 public const READ_PRIVATE_POSTS = 'read_private_posts';
61 public const DELETE_PRIVATE_PAGES = 'delete_private_pages';
62 public const EDIT_PRIVATE_PAGES = 'edit_private_pages';
63 public const READ_PRIVATE_PAGES = 'read_private_pages';
64 public const DELETE_USERS = 'delete_users';
65 public const CREATE_USERS = 'create_users';
66 public const UNFILTERED_UPLOAD = 'unfiltered_upload';
67 public const EDIT_DASHBOARD = 'edit_dashboard';
68 public const UPDATE_PLUGINS = 'update_plugins';
69 public const DELETE_PLUGINS = 'delete_plugins';
70 public const INSTALL_PLUGINS = 'install_plugins';
71 public const UPDATE_THEMES = 'update_themes';
72 public const INSTALL_THEMES = 'install_themes';
73 public const UPDATE_CORE = 'update_core';
74 public const LIST_USERS = 'list_users';
75 public const REMOVE_USERS = 'remove_users';
76 public const PROMOTE_USERS = 'promote_users';
77 public const EDIT_THEME_OPTIONS = 'edit_theme_options';
78 public const DELETE_THEMES = 'delete_themes';
79 public const EXPORT = 'export';
80 }
81