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



page_row_actions ›

Seit2.8.0
Veraltetn/v
apply_filters( 'page_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 Pages list table.

The filter is evaluated only for hierarchical post types.





Quellcode

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