ap_user_can_delete_question( object|integer $question, boolean $user_id = false )
Description #
Check if user can delete a question.
Parameters #
- $questionobject | integer (Required) Question ID or object.
- $user_idboolean (Optional) User ID. Default value: false
Source #
File: includes/class/roles-cap.php
function ap_user_can_delete_question( $question, $user_id = false ) { return ap_user_can_delete_post( $question, $user_id ); }
Expand full source code Collapse full source code View on GitHub: includes/class/roles-cap.php:685
Add your comment