do_action( "post_action_{$action}", int $post_id )

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_id

(int) Post ID sent with the request.


Source

File: wp-admin/post.php

View on GitHub


Changelog

Changelog
Version Description
WP-4.6.0 Introduced.