Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



media_row_actions ›

Seit2.8.0
Veraltetn/v
apply_filters( 'media_row_actions', $actions, $post, $this->detached )
Parameter: (3)
  • (string[]) $actions An array of action links for each attachment. Default 'Edit', 'Delete Permanently', 'View'.
    Erforderlich: Ja
  • (WP_Post) $post WP_Post object for the current attachment.
    Erforderlich: Ja
  • (bool) $detached Whether the list table contains media not attached to any posts. Default true.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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