wphooks.info - restrict_manage_comments

restrict_manage_comments

(trunk - 5.0-alpha-42719)

The hook occurs in the following file:

wp-admin/includes/class-wp-comments-list-table.php:
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
	echo "\t" . '<option value="' . esc_attr( $type ) . '"' . selected( $comment_type, $type, false ) . ">$label</option>\n";
}
	?>
	</select>
<?php
	/**
	 * Fires just before the Filter submit button for comment types.
	 *
	 * @since 3.5.0
	 */
	do_action( 'restrict_manage_comments' );
	submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
}

if ( ( 'spam' === $comment_status || 'trash' === $comment_status ) && current_user_can( 'moderate_comments' ) && $has_items ) {
	wp_nonce_field( 'bulk-destroy', '_destroy_nonce' );
	$title = ( 'spam' === $comment_status ) ? esc_attr__( 'Empty Spam' ) : esc_attr__( 'Empty Trash' );
	submit_button( $title, 'apply', 'delete_all', false );
}
		/**