SHARE
TWEET

Untitled

a guest May 19th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. function worduoso_editor_access() {
  3.     $role = get_role( 'editor' );
  4.     $role->add_cap( 'gravityforms_view_entries' );
  5.     $role->add_cap( 'gravityforms_view_entry_notes' );
  6. }
  7.  
  8. add_action( 'admin_init', 'worduoso_editor_access');
RAW Paste Data
Top