Skip to content

Commit 113e7fc

Browse files
committed
Another list table method.
1 parent 77ac9f6 commit 113e7fc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

additionalParams.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
'WP_Http::head' => [$httpReturnType],
1515
'WP_Http::post' => [$httpReturnType],
1616
'WP_Http::request' => [$httpReturnType],
17+
'WP_List_Table::bulk_actions' => ['void', 'which'=>'"top"|"bottom"'],
1718
'WP_List_Table::display_tablenav' => ['void', 'which'=>'"top"|"bottom"'],
1819
'WP_List_Table::pagination' => ['void', 'which'=>'"top"|"bottom"'],
1920
'wp_remote_get' => [$httpReturnType],

wordpress-stubs.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4290,6 +4290,8 @@ protected function get_bulk_actions()
42904290
*
42914291
* @param string $which The location of the bulk actions: 'top' or 'bottom'.
42924292
* This is designated as optional for backward compatibility.
4293+
* @phpstan-param "top"|"bottom" $which
4294+
* @phpstan-return void
42934295
*/
42944296
protected function bulk_actions($which = '')
42954297
{

0 commit comments

Comments
 (0)