wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



media_row_actions › Hooks de Filtros WordPress

Desde2.8.0
Obsoleton/a
apply_filters( 'media_row_actions', $actions, $post, $this->detached )
Parâmetros: (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
Definido em:
Codex:

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





Fonte

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