ap_user_can_change_label()
Description #
Check if user can change post label.
Source #
File: includes/class/roles-cap.php
function ap_user_can_change_label() {
if ( is_super_admin() || current_user_can( 'ap_change_label' ) ) {
return true;
}
return false;
}
Expand full source code Collapse full source code View on GitHub: includes/class/roles-cap.php:471
Add your comment