post_action_{$action}

SummerySummery

Fires for a given custom post action request.

Syntax

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

DescriptionDescription

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

ParametersParameters

$post_id

(int) Post ID sent with the request.

SourceSource

File: wp-admin/post.php

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top