Outil de recherche WordPress pour les développeurs et auteurs de thèmes



media_row_actions ›

Depuis2.8.0
Dépréciéen/a
apply_filters( 'media_row_actions', $actions, $post, $this->detached )
Paramètres: (3)
  • (string[]) $actions An array of action links for each attachment. Default 'Edit', 'Delete Permanently', 'View'.
    Requis: Oui
  • (WP_Post) $post WP_Post object for the current attachment.
    Requis: Oui
  • (bool) $detached Whether the list table contains media not attached to any posts. Default true.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the action links for each attachment in the Media list table.





Source

return apply_filters( 'media_row_actions', $actions, $post, $this->detached );