PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
contact-form-7
/
includes
<?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; }
[-] contact-form.php
[edit]
[-] capabilities.php
[edit]
[-] file.php
[edit]
[-] formatting.php
[edit]
[+]
swv
[-] html-formatter.php
[edit]
[-] l10n.php
[edit]
[-] filesystem.php
[edit]
[-] rest-api.php
[edit]
[-] integration.php
[edit]
[+]
config-validator
[+]
js
[-] functions.php
[edit]
[-] contact-form-template.php
[edit]
[-] submission.php
[edit]
[-] form-tags-manager.php
[edit]
[-] controller.php
[edit]
[-] special-mail-tags.php
[edit]
[-] mail-tag.php
[edit]
[-] validation.php
[edit]
[-] shortcodes.php
[edit]
[-] pipe.php
[edit]
[-] contact-form-functions.php
[edit]
[-] validation-functions.php
[edit]
[-] pocket-holder.php
[edit]
[-] upgrade.php
[edit]
[-] mail.php
[edit]
[+]
block-editor
[+]
..
[+]
css
[-] form-tag.php
[edit]