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



media_row_actions › WordPress Filter Hooks

Da2.8.0
Deprecaton/a
apply_filters( 'media_row_actions', $actions, $post, $this->detached )
Parametri: (3)
  • (string[]) $actions An array of action links for each attachment. Includes 'Edit', 'Delete Permanently', 'View', 'Copy URL' and 'Download file'.
    Richiesto:
  • (WP_Post) $post WP_Post object for the current attachment.
    Richiesto:
  • (bool) $detached Whether the list table contains media not attached to any posts. Default true.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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