Filters of the Day

Filters of the Day

Three filters a day for 365 days

Menu

Skip to content
  • What is this?
  • Submit an Example

Tag Archives: pre

#40: comment_edit_pre

The comment_edit_pre filter allows you to do X.

It is evaluated in WP_Comments_List_Table::column_comment() in the wp-admin/includes/class-wp-comments-list-table.php file.

comment_edit_pre accepts a single argument:

Example:

View the code example on Gist.

Posted on August 7, 2014 by Drew Jaynes. Posted in Comments | Tagged list table, pre | Leave a comment

Subscribe to the Filters of the Day mailing list

Receive a daily digest of Filters of the Day posts.

  • This field is for validation purposes and should be left unchanged.

Categories

  • Administration (5)
  • Comments (6)
  • Content (12)
  • Feeds (2)
  • General (1)
  • Links (1)
  • Menus (2)
  • Multisite (1)
  • News (3)
  • Recap (1)
  • Taxonomies (1)
  • Users (3)
  • Utilities (8)
  • Widgets (1)
  • XML-RPC (1)
Proudly powered by WordPress Theme: Publish by Konstantin Kovshenin.