WP isAdmin

This plugin provides provides a simple short code to add or hide custom content to your posts and pages based on whether a user is an administrator (or other role) or not.

This started as a way around having an automatic redirect if somebody belonged to a specific WishListMember membership level but not wanting to redirect off of the page
if I was an admin (who always has access to all membership levels.)

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录