Plugin Directory

Changeset 2887237


Ignore:
Timestamp:
03/26/2023 10:17:51 PM (3 years ago)
Author:
functionsfile
Message:

Update readme.txt

Location:
admin-bar-site-id
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin-bar-site-id/tags/1.0.0/readme.txt

    r2887235 r2887237  
    2929A `functions_file_admin_bar_site_id_capability` [filter](https://developer.wordpress.org/plugins/hooks/filters/) exists that allows you to override the capability required to add the admin bar menu item.
    3030
    31 ```
     31`
    3232// Change the admin bar site ID capability.
    3333add_filter(
     
    5252    return 'edit_posts';
    5353}
    54 ```
     54`
     55
    5556== Changelog ==
    5657
  • admin-bar-site-id/trunk/readme.txt

    r2887234 r2887237  
    2929A `functions_file_admin_bar_site_id_capability` [filter](https://developer.wordpress.org/plugins/hooks/filters/) exists that allows you to override the capability required to add the admin bar menu item.
    3030
    31 ```
     31`
    3232// Change the admin bar site ID capability.
    3333add_filter(
     
    5252    return 'edit_posts';
    5353}
    54 ```
     54`
     55
    5556== Changelog ==
    5657
Note: See TracChangeset for help on using the changeset viewer.