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



restrict_manage_posts › WordPress Action Hooks

Seit4.6.0
Veraltetn/v
› do_action( 'restrict_manage_posts', $this->screen->post_type, $which )
Parameter: (2)
  • () post_type The post type slug.
    Erforderlich: Ja
  • () which The location of the extra table nav markup: 'top' or 'bottom' for WP_Posts_List_Table, 'bar' for WP_Media_List_Table.
    Erforderlich: Ja
Definiert in:
Codex:

Fires before the Filter button on the Posts and Pages list tables.

The Filter button allows sorting by date and/or category on the Posts list table, and sorting by date on the Pages list table.




Quellcode

do_action( 'restrict_manage_posts', $this->screen->post_type, $which );