Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Wordpress popups plugin. Allow editors to edit popups
<?php // <-- don't add this in your functions.php if already there
* Allow editors to edit popups
* For more roles check
add_filter('spu/settings_page/roles', 'my_custom_role');
function my_custom_role(){
return 'edit_others_posts';

This comment has been minimized.

Copy link

@adammohammad adammohammad commented Jul 21, 2016

May you also provide a code how to allow authors to edit/add popups? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment