You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function should look something like this, when used:
/** * Add Access to the Post Type * * Note: Additional Roles can be given access as needed. */elegant_add_admin_capabilities( 'administrator', $capabilities[0], $capabilities[1] );
elegant_add_admin_capabilities( 'editor', $capabilities[0], $capabilities[1] );
It would then ensure add_cap() was triggered specifically for any new/custom declared capabilities.
The text was updated successfully, but these errors were encountered:
The function should look something like this, when used:
It would then ensure
add_cap()
was triggered specifically for any new/custom declared capabilities.The text was updated successfully, but these errors were encountered: