• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Plugins » Advanced Options » Advanced Options Documentation » Filters » wpmem_adv_toolbar_capability

wpmem_adv_toolbar_capability

Description

Filters the required capability for displaying the toolbar.  With default WP roles, it will be removed for “subscriber” role, but displayed for all others.

Parameters

$capability
(string) (required) The capability required for displaying the toolbar (default: edit_posts).

Usage

add_filter( 'wpmem_adv_toolbar_capability', function( $capability ) {
    return 'manage_options';
});

Changelog

Introduced in version 1.2

Source

wpmem_adv_toolbar_capability is located in includes/class-wp-members-advanced-options.php

WP-Members Advanced Options

Plugin Info

Current Stable Version: 2.3.4
Minimum WordPress Version: 5.0
Tested up to WordPress Version: 6.8
Last Updated: 2025-05-14

Documentation

    • Change WP Defaults
    • Change WP-Members Defaults
    • WooCommerce
    • BuddyPress
    • bbPress
    • ACF (Advanced Custom Fields)
    • Easy Digital Downloads
    • Filters
    • Change Log

Get The Plugin

Purchase the Plugin

Get the Pro Bundle

Ready to get started?

Join Today!

© 2025 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy