wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



post_row_actions › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
apply_filters( 'post_row_actions', $actions, $post )
Parametry: (2)
  • (string[]) $actions An array of row action links. Defaults are 'Edit', 'Quick Edit', 'Restore', 'Trash', 'Delete Permanently', 'Preview', and 'View'.
    Wymagane: Tak
  • (WP_Post) $post The post object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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

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





Źródło

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