Support » Plugin: WP Document Revisions » Remove Feed Privacy from profile

Viewing 1 replies (of 1 total)
  • In your theme’s functions.php file:
    if(is_admin()){
    function documents_admin() {
    global $wpdr;
    $admin = $wpdr->admin;
    remove_action( ‘show_user_profile’, array( $admin, ‘rss_key_display’ ) );
    //remove_action( ‘wpmu_options’, array( &$admin, ‘network_settings_cb’ ) );
    }
    add_action(‘wp_loaded’, ‘documents_admin’);
    }

    The first remove_action will remove the field in their profile.

    The second remove_action will remove the field in network admins for upload folder and slug. (It doesn’t work properly on IIS host.)

Viewing 1 replies (of 1 total)
  • The topic ‘Remove Feed Privacy from profile’ is closed to new replies.