Un motore di ricerca WordPress per sviluppatori e autori di temi



post_action_{$action} ›

Da4.6.0
Deprecaton/a
do_action( "post_action_{$action}", $post_id )
Parametri:
  • (int) $post_id Post ID sent with the request.
    Richiesto:
Definito a:
Codex:

Fires for a given custom post action request.

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





Sorgenti

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