Fires for a given custom post action request.
Description
The dynamic portion of the hook name, $action, refers to the custom post action.
Parameters
$post_idint- Post ID sent with the request.
Source
do_action( "post_action_{$action}", $post_id );
Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.