• Resolved bosklapper

    (@bosklapper)


    i can’t find how to make WP Popups available for other user in the backoffice. I tried with User Role Editor but can’t find WP Popups to make it available.

    I use WP Popups Lite (free). Anybody can help. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Damian

    (@timersys)

    Thread Starter bosklapper

    (@bosklapper)

    hello tried to add this

    // WP Popups allow editors to edit popups
    add_filter( ‘wppopups/manage_capability’, function(){ return ‘edit_others_posts’;} );

    but then i get this

    Warning: Use of undefined constant ‘wppopups - assumed '‘wppopups' (this will throw an Error in a future version of PHP) in /home/customer/www/website.be/public_html/wp-content/themes/theme/functions.php on line 414
    
    Warning: Use of undefined constant manage_capability’ - assumed 'manage_capability’' (this will throw an Error in a future version of PHP) in /home/customer/www/website.be/public_html/wp-content/themes/theme/functions.php on line 414
    
    Warning: A non-numeric value encountered in /home/customer/www/website.be/public_html/wp-content/themes/theme/functions.php on line 414
    
    Warning: Division by zero in /home/customer/www/website.be/public_html/wp-content/themes/theme/functions.php on line 414
    Thread Starter bosklapper

    (@bosklapper)

    ok, i changed ‘wppopups/manage_capability’ to ‘wppopups/manage_capability’

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘make WP Popups available for other user in backoffice’ is closed to new replies.