wppaste
WordPress

do_action( 'manage_comments_nav', string $comment_status, string $which )

Since
2.5.0, 5.6.0
Fires after the Filter submit button for comment types.

Parameters

$comment_statusstring
The comment status name. Default 'All'.
$whichstring
The location of the extra table nav markup: Either 'top' or 'bottom'.

Fired at · 1

  • wp-admin/includes/class-wp-comments-list-table.php:466WP_Comments_List_Table::extra_tablenav()

Source

		 * @since 2.5.0		 * @since 5.6.0 The `$which` parameter was added.		 *		 * @param string $comment_status The comment status name. Default 'All'.		 * @param string $which          The location of the extra table nav markup: Either 'top' or 'bottom'.		 */		do_action( 'manage_comments_nav', $comment_status, $which ); 		echo '</div>';	} 	/**	 * Gets the current action selected from the bulk actions dropdown.

History

Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

5.6.0
The $which parameter was added.from the docblock
2.5.0
Introduced.from the docblock

About this page

Parsed data
Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.