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