at path:
ROOT
/
wp-content
/
plugins
/
contact-form-7
/
includes
/
capabilities.php
run:
R
W
Run
block-editor
DIR
2026-02-08 11:50:05
R
W
Run
config-validator
DIR
2026-02-08 11:50:05
R
W
Run
css
DIR
2026-02-08 11:50:05
R
W
Run
js
DIR
2026-02-08 11:50:05
R
W
Run
swv
DIR
2026-02-08 11:50:06
R
W
Run
capabilities.php
834 By
2026-02-08 11:50:05
R
W
Run
Delete
Rename
contact-form-functions.php
10.26 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
contact-form-template.php
5.64 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
contact-form.php
30.74 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
controller.php
3.16 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
file.php
10.13 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
filesystem.php
3 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
form-tag.php
14.29 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
form-tags-manager.php
14.57 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
formatting.php
14.47 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
functions.php
16.98 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
html-formatter.php
20.66 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
integration.php
8.76 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
l10n.php
3.37 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
mail-tag.php
4.1 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
mail.php
15.15 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
pipe.php
2.62 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
pocket-holder.php
325 By
2026-02-08 11:50:05
R
W
Run
Delete
Rename
rest-api.php
12.99 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
shortcodes.php
2.66 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
special-mail-tags.php
6.53 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
submission.php
20.23 KB
2026-02-08 11:50:05
R
W
Run
Delete
Rename
upgrade.php
3.1 KB
2026-02-08 11:50:06
R
W
Run
Delete
Rename
validation-functions.php
6.67 KB
2026-02-08 11:50:06
R
W
Run
Delete
Rename
validation.php
3.26 KB
2026-02-08 11:50:06
R
W
Run
Delete
Rename
error_log
up
📄
capabilities.php
Save
<?php add_filter( 'map_meta_cap', 'wpcf7_map_meta_cap', 10, 4 ); function wpcf7_map_meta_cap( $caps, $cap, $user_id, $args ) { $meta_caps = array( 'wpcf7_edit_contact_form' => WPCF7_ADMIN_READ_WRITE_CAPABILITY, 'wpcf7_edit_contact_forms' => WPCF7_ADMIN_READ_WRITE_CAPABILITY, 'wpcf7_read_contact_form' => WPCF7_ADMIN_READ_CAPABILITY, 'wpcf7_read_contact_forms' => WPCF7_ADMIN_READ_CAPABILITY, 'wpcf7_delete_contact_form' => WPCF7_ADMIN_READ_WRITE_CAPABILITY, 'wpcf7_delete_contact_forms' => WPCF7_ADMIN_READ_WRITE_CAPABILITY, 'wpcf7_manage_integration' => 'manage_options', 'wpcf7_submit' => 'read', ); $meta_caps = apply_filters( 'wpcf7_map_meta_cap', $meta_caps ); $caps = array_diff( $caps, array_keys( $meta_caps ) ); if ( isset( $meta_caps[$cap] ) ) { $caps[] = $meta_caps[$cap]; } return $caps; }