wpseek.com
A WordPress-centric search engine for devs and theme authors



media_row_actions › WordPress Filter Hooks

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

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





Source

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