WordPress.org

Ready to get started?Download WordPress

Forums

My Link Order
Suggestion (1 post)

  1. Jorge
    Member
    Posted 3 years ago #

    Hi!!

    First of all, thnaks for your nice plugin. I'm testing it and seem to work OK.

    I'd like to make you a suggestion. In my new site I'm using a role managing plugin to control users privileges. Adding following few lines at the beginning of your code you can achieve assigning/removing use or MyLinksOrder to specific users:

    global $wp_roles;
    if ( ! isset($wp_roles) ) $wp_roles = new WP_Roles();
    
    $wp_roles->add_cap('editor','mylinkorder');

    Tested and working!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Jorge
  • This topic is not a support question
  • WordPress version: 3.0.5