wphooks.info - comment_status_links

comment_status_links

(trunk - 5.0-alpha-43293)

The hook occurs in the following file:

wp-admin/includes/class-wp-comments-list-table.php:
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
		/**
		 * Filters the comment status links.
		 *
		 * @since 2.5.0
		 * @since 5.0.0 The 'Mine' link was added.
		 *
		 * @param string[] $status_links An associative array of fully-formed comment status links. Includes 'All', 'Mine',
		 *                              'Pending', 'Approved', 'Spam', and 'Trash'.
		 */
		return apply_filters( 'comment_status_links', $status_links );
	}

	/**
	 * @global string $comment_status
	 *
	 * @return array
	 */
	protected function get_bulk_actions() {
		global $comment_status;