WordPress at Your Fingertips
action is not described

post_action_(action) action-hook . WP 4.6.0

Fires for a given custom post action request.

The dynamic portion of the hook name, $action, refers to the custom post action.


add_action( 'post_action_(action)', 'action_function_name_6332' );
function action_function_name_6332( $post_id ){
	// action...
Post ID sent with the request.


Since 4.6.0 Introduced.

Where the hook is called

In file: /wp-admin/post.php
wp-admin/post.php 363
do_action( "post_action_{$action}", $post_id );

Where in WP core the hook is used WordPress

Usage not found.