post_action_{$action}

Advertisement

Summery Summery

Fires for a given custom post action request.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$post_id

Post ID sent with the request.

Source Source

File: wp-admin/post.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply