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



comment_row_actions › WordPress Filter Hooks

Seit2.6.0
Veraltetn/v
apply_filters( 'comment_row_actions', array_filter( $actions )
Parameter: (2)
  • (string[]) $actions An array of comment actions. Default actions include: 'Approve', 'Unapprove', 'Edit', 'Reply', 'Spam', 'Delete', and 'Trash'.
    Erforderlich: Ja
  • (WP_Comment) $comment The comment object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the action links displayed for each comment in the Comments list table.





Quellcode

$actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );