Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_after_insert_attachment ›

Da5.0.0
Deprecaton/a
do_action( 'rest_after_insert_attachment', $attachment, $request, true )
Parametri: (3)
  • (WP_Post) $attachment Inserted or updated attachment object.
    Richiesto:
  • (WP_REST_Request) $request Request object.
    Richiesto:
  • (bool) $creating True when creating an attachment, false when updating.
    Richiesto:
Definito a:
Codex:

Fires after a single attachment is completely created or updated via the REST API.





Sorgenti

do_action( 'rest_after_insert_attachment', $attachment, $request, true );