wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



post_action_{$action} › WordPress Action Hooks

Da4.6.0
Deprecaton/a
› do_action( "post_action_{$action}", $post_id )
Parametri:
  • () post_id Post ID sent with the request.
    Richiesto: Sì
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 );