Const
The PostControls utility constructs a list of buttons for a post which perform actions on it.
PostControls
Get a list of controls for a post.
The parent component under which the controls menu will be displayed.
')}
Delete a post.
Protected
Get controls for a post that are destructive (e.g. delete).
Open the composer to edit a post.
Hide a post.
Get controls for a post pertaining to moderation (e.g. edit).
Restore a post.
Get controls for a post pertaining to the current user (e.g. report).
Generated using TypeDoc v0.24.8
The
PostControls
utility constructs a list of buttons for a post which perform actions on it.