wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



post_action_{$action} › Działania WordPress Hooks

Od4.6.0
Przestarzałyn/a
› do_action( "post_action_{$action}", $post_id )
Parametry:
  • () post_id Post ID sent with the request.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires for a given custom post action request.

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




Źródło

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