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



post_row_actions › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'post_row_actions', $actions, $post )
Parameter: (2)
  • (string[]) $actions An array of row action links. Defaults are 'Edit', 'Quick Edit', 'Restore', 'Trash', 'Delete Permanently', 'Preview', and 'View'.
    Erforderlich: Ja
  • (WP_Post) $post The post object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the array of row action links on the Posts list table.

The filter is evaluated only for non-hierarchical post types.





Quellcode

$actions = apply_filters( 'post_row_actions', $actions, $post );