wp_check_authorization

EveAndersson.com : API Browser : wp_check_authorization

wp_check_authorization

wp_check_authorization presentation_id user_id [ priv ]
Defined in tcl/wp-defs.tcl

Verifies that the user can perform $priv roles on the presentation, returning an error and bailing if not. If authorized, returns the level at which the user is actually authorized.

Parameters:
presentation_id
user_id
priv (defaults to "read")
[ show source ]

Show another procedure:

eve@eveandersson.com