wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



post_action_{$action} › WordPress Action Hooks

Seit4.6.0
Veraltetn/v
do_action( "post_action_{$action}", $post_id )
Parameter:
  • (int) $post_id Post ID sent with the request.
    Erforderlich: Ja
Definiert in:
Codex:

Fires for a given custom post action request.

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





Quellcode

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