Clanbite Social Kit Since 1.4.1
user_can_delete_post_row( object $row, int $user_id ): boolWhether the user can delete a post row: anyone who can manage it, plus site administrators (moderation).
Administrators can remove other members' posts but not edit them, so this is separate from Data_Access::user_can_manage_post_row().
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access
Parameters
$row(object) RequiredPost row.
$user_id(int) RequiredUser ID.
Returns
bool
Defined in inc/Social/Data_Access.php
Changelog
| Version | Description |
|---|---|
| 1.4.1 | Introduced. |